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'
# 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'