Module: ControllerAccess
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/force_format/controller_access.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- FORCE_FORMAT_TYPES =
[:html, :js, :json, :pdf, :csv, :zip, :xml]
- FORCE_FORMAT_DEFAULT_TYPES =
[:html]
- FORCE_FORMAT_EXCEPTION =
lambda { |o| raise(ActionController::RoutingError, o) }