changeset 1127:736d01c1d2d0 redmine-2.2-integration

Fixes dependency declaration for patches in the bibliography plugin init file.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 08 Jan 2013 16:58:46 +0000
parents e65c02706f1c
children cd2db8872493
files plugins/redmine_bibliography/init.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/redmine_bibliography/init.rb	Tue Jan 08 16:33:27 2013 +0000
+++ b/plugins/redmine_bibliography/init.rb	Tue Jan 08 16:58:46 2013 +0000
@@ -4,7 +4,7 @@
 require 'citeproc'
 
 # Patches to the Redmine core.
-ActionDispatch::Callbacks.to_prepare :redmine_model_dependencies do
+ActionDispatch::Callbacks.to_prepare do
   require_dependency 'project'
   require_dependency 'user'
   require_dependency 'mailer'