X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/63221710a4b9ce4c282aab751b35581908e45852..c59471842f064e5add5c5203134d27e1c48e20d3:/app/controllers/browse_controller.rb diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 50d0ae0a5..6c5336908 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -5,6 +5,7 @@ class BrowseController < ApplicationController before_action :set_locale before_action -> { check_database_readable(:need_api => true) } before_action :require_oauth + before_action :update_totp, :only => [:query] around_action :web_timeout authorize_resource :class => false @@ -88,4 +89,6 @@ class BrowseController < ApplicationController rescue ActiveRecord::RecordNotFound render :action => "not_found", :status => :not_found end + + def query; end end