1 class BrowseController < ApplicationController
4 before_action :authorize_web
5 before_action :set_locale
6 before_action -> { check_database_readable(:need_api => true) }
7 before_action :require_oauth
8 before_action :update_totp, :only => [:query]
9 around_action :web_timeout
10 authorize_resource :class => false