X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b8f6dbd403507edd14f04f3151c285e232607360..0d5be22cb517ebaaab5eb7af13150bf61e41df56:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 667f85774..17b667969 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -111,7 +111,7 @@ class TraceController < ApplicationController if @trace and @trace.visible? and (@trace.public? or @trace.user == @user) - @title = t 'trace.view.viewing_trace', :name => @trace.name + @title = t 'trace.view.title', :name => @trace.name else flash[:notice] = t 'trace.view.trace_not_found' redirect_to :controller => 'trace', :action => 'list' @@ -168,6 +168,7 @@ class TraceController < ApplicationController @trace = Trace.find(params[:id]) if @user and @trace.user == @user + @title = t 'trace.edit.title', :name => @trace.name if params[:trace] @trace.description = params[:trace][:description] @trace.tagstring = params[:trace][:tagstring]