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