diff vendor/plugins/redmine_bibliography/init.rb @ 1070:858f042e8d11 bibplugin_cache

Created a patch for the ProjectsHelper to replace the one previously created for the Projects controller.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 21 Nov 2012 14:42:12 +0000
parents e11d8d13ebc5
children fe32745aaa3d
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/init.rb	Wed Nov 21 11:24:42 2012 +0000
+++ b/vendor/plugins/redmine_bibliography/init.rb	Wed Nov 21 14:42:12 2012 +0000
@@ -25,10 +25,9 @@
     Mailer.send(:include, Bibliography::MailerPatch)
   end
 
-  unless ProjectsController.included_modules.include?(Bibliography::ProjectsControllerPatch)
-   ProjectsController.send(:include, Bibliography::ProjectsControllerPatch)
+  unless ProjectsHelper.included_modules.include?(Bibliography::ProjectsHelperPatch)
+    ProjectsHelper.send(:include, Bibliography::ProjectsHelperPatch)
   end
-
 end