X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3159c3c3f715250ef97e468eb155b868322b0426..d6f518f6279ddd8e07d8f78577b1414567fc6a5c:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f419460ee..045e93eb7 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -10,7 +10,9 @@ class ApplicationController < ActionController::Base around_action :better_errors_allow_inline, :if => proc { Rails.env.development? } attr_accessor :current_user + helper_method :current_user + helper_method :preferred_langauges private