X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d154270c884fe196fb56fa3123183c3408a45ecc..0249ff0d913dfaef2a6f5e8518e5736545a23c28:/redmine/redmine_publications/init.rb?ds=sidebyside diff --git a/redmine/redmine_publications/init.rb b/redmine/redmine_publications/init.rb index f2b5b59c..b1739c33 100644 --- a/redmine/redmine_publications/init.rb +++ b/redmine/redmine_publications/init.rb @@ -2,10 +2,11 @@ require 'redmine' # Patches to the Redmine core. require 'dispatcher' - + Dispatcher.to_prepare :redmine_publications do require_dependency 'issue' - # Guards against including the module multiple time (like in tests) + + #Guards against including the module multiple time (like in tests) # and registering multiple callbacks unless Issue.included_modules.include? RedminePublications::IssuePatch Issue.send(:include, RedminePublications::IssuePatch) @@ -27,7 +28,7 @@ Redmine::Plugin.register :redmine_publications do menu :application_menu, :publications, { :controller => 'publications', :action => 'index' }, :caption => 'Publikacje' - requires_redmine :version_or_higher => '0.8.0' +# requires_redmine :version_or_higher => '0.8.0' end