Project

General

Profile

Defect #1346 » issues_controller_new_redirect.patch

Thomas Löber, 2008-06-02 10:26

View differences:

app/controllers/issues_controller.rb (working copy)
149 149
        attach_files(@issue, params[:attachments])
150 150
        flash[:notice] = l(:notice_successful_create)
151 151
        Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
152
        redirect_to :controller => 'issues', :action => 'show', :id => @issue,  :project_id => @project
152
        redirect_to :action => 'show', :id => @issue
153 153
        return
154 154
      end		
155 155
    end	
    (1-1/1)