]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/traces_controller.rb
Set colors for trace visibility badges using .text-bg-*
[rails.git] / app / controllers / traces_controller.rb
index 02b553d0a89814d944ddbeb5e5791f549f809a66..d723bac5b73b634f62d32e99ae6337f8e41c3916 100644 (file)
@@ -143,7 +143,7 @@ class TracesController < ApplicationController
       flash[:notice] = t ".updated"
       redirect_to :action => "show", :display_name => current_user.display_name
     else
       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
       render :action => "edit"
     end
   rescue ActiveRecord::RecordNotFound