class Rails::Application::Configuration

def api_only=(value)

def api_only=(value)
  @api_only = value
  generators.api_only = value
  @debug_exception_response_format ||= :api
end