Module: ActionController::MimeResponds::ClassMethods

Defined in:
lib/action_controller/metal/mime_responds.rb

Overview

:stopdoc:

Instance Method Summary collapse

Instance Method Details

#respond_toObject

Raises:

  • (NoMethodError)


9
10
11
12
13
14
15
# File 'lib/action_controller/metal/mime_responds.rb', line 9

def respond_to(*)
  raise NoMethodError, "The controller-level `respond_to' feature has " \
    "been extracted to the `responders` gem. Add it to your Gemfile to " \
    "continue using this feature:\n" \
    "  gem 'responders', '~> 2.0'\n" \
    "Consult the Rails upgrade guide for details."
end