1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/app/controllers/active_storage/base_controller.rb

11 lines
294 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# The base class for all Active Storage controllers.
class ActiveStorage::BaseController < ActionController::Base
include ActiveStorage::SetCurrent, ActiveStorage::Streaming
protect_from_forgery with: :exception
self.etag_with_template_digest = false
end