X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/807070f818ca0253a9a9a4f94e6ef1554ba308e8..8a1d9870d7a126c1df1c2a8b07eb63e6b301d574:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 47bc62be8..532893ef1 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -2,6 +2,7 @@ class TraceController < ApplicationController layout 'site' before_filter :authorize_web + before_filter :set_locale before_filter :require_user, :only => [:mine, :create, :edit, :delete, :make_public] before_filter :authorize, :only => [:api_details, :api_data, :api_create] before_filter :check_database_readable, :except => [:api_details, :api_data, :api_create] @@ -141,6 +142,7 @@ class TraceController < ApplicationController @trace.errors.add(:gpx_file, "can't be blank") end end + @title = I18n.t('trace.create.upload_trace') end def data