X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/df4349a0505fd0acc6dab814efba9113af24dba5..68431bde1ac127804a1375db3c12f24c38926a18:/app/controllers/traces_controller.rb
diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb
index 5bee44886..d723bac5b 100644
--- a/app/controllers/traces_controller.rb
+++ b/app/controllers/traces_controller.rb
@@ -65,6 +65,8 @@ class TracesController < ApplicationController
# final helper vars for view
@target_user = target_user
+
+ render :partial => "page" if turbo_frame_request_id == "pagination"
end
def show
@@ -141,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