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