Mercurial > hg > soundsoftware-site
comparison plugins/redmine_bibliography/init.rb @ 1234:e0167f4e1d8a redmine-2.2-integration
We have a MyHelper now, so we need a MyHelperPatch (also some other minor fixes)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 13 Mar 2013 14:00:01 +0000 |
parents | 16826c3afbba |
children | fa3d9c22497c |
comparison
equal
deleted
inserted
replaced
1233:ed0d04113c93 | 1234:e0167f4e1d8a |
---|---|
21 Mailer.send(:include, Bibliography::MailerPatch) | 21 Mailer.send(:include, Bibliography::MailerPatch) |
22 end | 22 end |
23 | 23 |
24 unless ProjectsHelper.included_modules.include?(Bibliography::ProjectsHelperPatch) | 24 unless ProjectsHelper.included_modules.include?(Bibliography::ProjectsHelperPatch) |
25 ProjectsHelper.send(:include, Bibliography::ProjectsHelperPatch) | 25 ProjectsHelper.send(:include, Bibliography::ProjectsHelperPatch) |
26 end | |
27 | |
28 unless MyHelper.included_modules.include?(Bibliography::MyHelperPatch) | |
29 MyHelper.send(:include, Bibliography::MyHelperPatch) | |
26 end | 30 end |
27 end | 31 end |
28 | 32 |
29 | 33 |
30 # Plugin Info | 34 # Plugin Info |