# HG changeset patch # User luisf # Date 1353497082 0 # Node ID 734fe0c6b3e480f6ae9afdd82f6a3e36d3a5eb99 # Parent e11d8d13ebc51da0a627e3c23dfbefc9b08cd75d added projects_controller_patch (includes the publications helper to the projects controller) - forgot to add this file to version control in the last commit. diff -r e11d8d13ebc5 -r 734fe0c6b3e4 vendor/plugins/redmine_bibliography/lib/bibliography/projects_controller_patch.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/plugins/redmine_bibliography/lib/bibliography/projects_controller_patch.rb Wed Nov 21 11:24:42 2012 +0000 @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +require_dependency 'projects_controller' + +module Bibliography + module ProjectsControllerPatch + def self.included(base) + base.send(:include, InstanceMethods) + + base.class_eval do + unloadable + + # reads the publications helper on the projects controller + helper :publications + include PublicationsHelper + + end + end + + module InstanceMethods + + end + + end +end