Redirect back to referer after creating/updating time entries (closes: #f08f36)
This commit is contained in:
parent
b6d3c628a1
commit
2278b41d97
|
@ -1216,7 +1216,7 @@ module StopTime::Controllers
|
||||||
@errors = @time_entry.errors
|
@errors = @time_entry.errors
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
redirect R(Timeline)
|
redirect @request.referer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1298,7 +1298,7 @@ module StopTime::Controllers
|
||||||
return render :time_entry_form
|
return render :time_entry_form
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
redirect R(Timeline)
|
redirect @request.referer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue