Mercurial > hg > soundsoftware-site
comparison vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb @ 561:9d786d8d3b1f feature_36
Fixes Bug #251.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 04 Aug 2011 17:00:13 +0100 |
parents | 735388da579a |
children | b18f19710242 |
comparison
equal
deleted
inserted
replaced
560:735388da579a | 561:9d786d8d3b1f |
---|---|
2 | 2 |
3 class PublicationsController < ApplicationController | 3 class PublicationsController < ApplicationController |
4 unloadable | 4 unloadable |
5 | 5 |
6 model_object Publication | 6 model_object Publication |
7 before_filter :find_model_object, :except => [:new, :create, :index] | 7 before_filter :find_model_object, :except => [:new, :create, :index, :autocomplete_for_project, :add_author, :sort_authors, :autocomplete_for_author] |
8 | 8 |
9 # before_filter :find_project, :except => [:autocomplete_for_project, :add_author, :sort_authors, :autocomplete_for_author] | 9 # before_filter :find_project, :except => [:autocomplete_for_project, :add_author, :sort_authors, :autocomplete_for_author] |
10 | 10 |
11 def new | 11 def new |
12 find_project_by_project_id | 12 find_project_by_project_id |