Fix page title for failed trace updates
This commit is contained in:
parent
2666294abb
commit
9ed6a9d779
2 changed files with 12 additions and 1 deletions
|
@ -143,7 +143,7 @@ class TracesController < ApplicationController
|
|||
flash[:notice] = t ".updated"
|
||||
redirect_to :action => "show", :display_name => current_user.display_name
|
||||
else
|
||||
@title = t ".title", :name => @trace.name
|
||||
@title = t "traces.edit.title", :name => @trace.name
|
||||
render :action => "edit"
|
||||
end
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue