Project

General

Profile

Patch #261 » redirect-to-new-issue.patch

chris mcharg, 2008-02-23 15:30

View differences:

app/controllers/issues_controller.rb
133 133
        attach_files(@issue, params[:attachments])
134 134
        flash[:notice] = l(:notice_successful_create)
135 135
        Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
136
        redirect_to :controller => 'issues', :action => 'index', :project_id => @project
136
        redirect_to :controller => 'issues', :action => 'show', :id => @issue,  :project_id => @project
137 137
        return
138 138
      end		
139 139
    end	
(2-2/2)