Mercurial > hg > soundsoftware-site
changeset 631:324678bbbe77 feature_36
Addresses (completes?) Feature #242. Addresses Feature #241.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 25 Aug 2011 15:38:51 +0100 |
parents | d91ee0e196e5 |
children | 84a746383a5b |
files | vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb Thu Aug 25 15:06:51 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb Thu Aug 25 15:38:51 2011 +0100 @@ -6,10 +6,7 @@ model_object Publication before_filter :find_model_object, :except => [:new, :create, :index, :autocomplete_for_project, :add_author, :sort_author_order, :autocomplete_for_author, :get_user_info ] - - before_filter :find_project_by_project_id, :authorize, :only => :edit - - + before_filter :find_project_by_project_id, :authorize, :only => [ :edit, :new, :update, :create ] def new find_project_by_project_id