Mercurial > hg > soundsoftware-site
diff plugins/redmine_bibliography/app/controllers/publications_controller.rb @ 1317:2805873c0147 redmine-2.2-integration
several fixes to the publications#show page and related views.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 18 Jun 2013 17:34:56 +0100 |
parents | 006057cf8f16 |
children | e2c17a09ce86 |
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/controllers/publications_controller.rb Tue Jun 18 15:02:44 2013 +0100 +++ b/plugins/redmine_bibliography/app/controllers/publications_controller.rb Tue Jun 18 17:34:56 2013 +0100 @@ -5,8 +5,7 @@ unloadable model_object Publication - # before_filter :find_model_object, :except => [:new, :create, :index, :show_bibtex_fields, :autocomplete_for_project, :add_author, :sort_author_order, :autocomplete_for_author, :get_user_info ] - + before_filter :find_model_object, :only => [ :show, :add_project ] before_filter :find_project_by_project_id, :authorize, :only => [ :edit, :new, :update, :create ] def new