fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Łatwiejsze wybieranie galerii dla dokumentów w interfejsie administracyjnym.
[redakcja.git]
/
redmine
/
redmine_publications
/
init.rb
diff --git
a/redmine/redmine_publications/init.rb
b/redmine/redmine_publications/init.rb
index
0aa6f07
..
01afeab
100644
(file)
--- a/
redmine/redmine_publications/init.rb
+++ b/
redmine/redmine_publications/init.rb
@@
-11,6
+11,10
@@
Dispatcher.to_prepare :redmine_publications do
unless Issue.included_modules.include? RedminePublications::IssuePatch
Issue.send(:include, RedminePublications::IssuePatch)
end
unless Issue.included_modules.include? RedminePublications::IssuePatch
Issue.send(:include, RedminePublications::IssuePatch)
end
+
+ unless Change.included_modules.include? RedminePublications::ChangePatch
+ Change.send(:include, RedminePublications::ChangePatch)
+ end
end
require_dependency 'issue_publication_hook'
end
require_dependency 'issue_publication_hook'
@@
-24,7
+28,7
@@
Redmine::Plugin.register :redmine_publications do
# permission :view_issues_for_publication, :publications => :issues
settings :partial => 'settings/publications_settings',
# permission :view_issues_for_publication, :publications => :issues
settings :partial => 'settings/publications_settings',
- :default => { :
tracker => '1', :pattern => '.*/[a-z_
].xml', :editorurl => 'http://localhost/:pubid'}
+ :default => { :
project => '0', :pattern => '[^\$
].xml', :editorurl => 'http://localhost/:pubid'}
menu :application_menu, :publications, { :controller => 'publications', :action => 'index' }, :caption => 'Publikacje'
menu :application_menu, :publications, { :controller => 'publications', :action => 'index' }, :caption => 'Publikacje'