diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:01:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-30 19:01:14 +0000 |
commit | 33e25255e3ec231c9db05daa6f481b59b96e6bc4 (patch) | |
tree | 3905b9f64e706e93ca051f4e7e48deedd8d4afa7 /app/controllers | |
parent | e25caff16f06bd4515c5e6e49951fc1bc692df56 (diff) | |
download | redmine-33e25255e3ec231c9db05daa6f481b59b96e6bc4.tar.gz redmine-33e25255e3ec231c9db05daa6f481b59b96e6bc4.zip |
Removed #find_project already defined in parent class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8007 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/documents_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb index 09b76781f..633ffd8ed 100644 --- a/app/controllers/documents_controller.rb +++ b/app/controllers/documents_controller.rb @@ -76,11 +76,4 @@ class DocumentsController < ApplicationController Mailer.deliver_attachments_added(attachments[:files]) if attachments.present? && attachments[:files].present? && Setting.notified_events.include?('document_added') redirect_to :action => 'show', :id => @document end - -private - def find_project - @project = Project.find(params[:project_id]) - rescue ActiveRecord::RecordNotFound - render_404 - end end |