]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Link to PDF doesn't work after creating new issue (#1346).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 17:01:02 +0000 (17:01 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 17:01:02 +0000 (17:01 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1484 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index defc0a11ee2842b28c1a0f073143069fb32cf3ad..682a0cc6b75d737e8efbdc005f790aeff5d0e145 100644 (file)
@@ -149,7 +149,7 @@ class IssuesController < ApplicationController
         attach_files(@issue, params[:attachments])
         flash[:notice] = l(:notice_successful_create)
         Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
-        redirect_to :controller => 'issues', :action => 'show', :id => @issue,  :project_id => @project
+        redirect_to :controller => 'issues', :action => 'show', :id => @issue
         return
       end              
     end