1 # frozen_string_literal: true
3 class ElementsController < ApplicationController
6 before_action :authorize_web
7 before_action :set_locale
8 before_action -> { check_database_readable(:need_api => true) }
9 before_action :require_oauth
13 around_action :web_timeout