# HG changeset patch # User luisf # Date 1314283131 -3600 # Node ID 324678bbbe77c86c527e8b49886f2326085a6187 # Parent d91ee0e196e5490fe3ef0d0c180ac97c27b158af Addresses (completes?) Feature #242. Addresses Feature #241. diff -r d91ee0e196e5 -r 324678bbbe77 vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb --- 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