Revision 1317:2805873c0147 plugins/redmine_bibliography/app/controllers
| plugins/redmine_bibliography/app/controllers/publications_controller.rb | ||
|---|---|---|
| 5 | 5 |
unloadable |
| 6 | 6 |
|
| 7 | 7 |
model_object Publication |
| 8 |
# 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 ] |
|
| 9 |
|
|
| 8 |
before_filter :find_model_object, :only => [ :show, :add_project ] |
|
| 10 | 9 |
before_filter :find_project_by_project_id, :authorize, :only => [ :edit, :new, :update, :create ] |
| 11 | 10 |
|
| 12 | 11 |
def new |
Also available in: Unified diff