@@ -134,9 +134,9 class TimelogController < ApplicationController | |||||
134 | flash[:notice] = l(:notice_successful_create) |
|
134 | flash[:notice] = l(:notice_successful_create) | |
135 | if params[:continue] |
|
135 | if params[:continue] | |
136 | if params[:project_id] |
|
136 | if params[:project_id] | |
137 | redirect_to :action => 'new', :project_id => @time_entry.project, :issue_id => @time_entry.issue |
|
137 | redirect_to :action => 'new', :project_id => @time_entry.project, :issue_id => @time_entry.issue, :back_url => params[:back_url] | |
138 | else |
|
138 | else | |
139 | redirect_to :action => 'new' |
|
139 | redirect_to :action => 'new', :back_url => params[:back_url] | |
140 | end |
|
140 | end | |
141 | else |
|
141 | else | |
142 | redirect_back_or_default :action => 'index', :project_id => @time_entry.project |
|
142 | redirect_back_or_default :action => 'index', :project_id => @time_entry.project |
General Comments 0
You need to be logged in to leave comments.
Login now