Mercurial > hg > soundsoftware-site
view vendor/plugins/redmine_bibliography/lib/bibliography/projects_controller_patch.rb @ 1069:734fe0c6b3e4 bibplugin_cache
added projects_controller_patch (includes the publications helper to the projects controller) - forgot to add this file to version control in the last commit.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 21 Nov 2012 11:24:42 +0000 |
parents | |
children |
line wrap: on
line source
# -*- 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