]> source.dussan.org Git - redmine.git/commitdiff
Removed #find_project already defined in parent class.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Nov 2011 19:01:14 +0000 (19:01 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Nov 2011 19:01:14 +0000 (19:01 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8007 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/documents_controller.rb

index 09b76781fd845c0ce18c0f9628937f909b9cb545..633ffd8ed5c1432592a9678097007a54654d4f45 100644 (file)
@@ -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