Mercurial > hg > soundsoftware-site
changeset 628:b080f902af3e feature_36
Fixed a permissions issue that prevented the "new" action from being called.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 24 Aug 2011 17:24:15 +0100 |
parents | 91143e21be2c |
children | f9470a59e5da |
files | vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb Wed Aug 24 17:18:39 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb Wed Aug 24 17:24:15 2011 +0100 @@ -6,7 +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, :except => [:autocomplete_for_project, :add_author, :sort_authors, :autocomplete_for_author] + before_filter :find_project_by_project_id, :authorize, :only => :edit