File tree Expand file tree Collapse file tree 3 files changed +5
-52
lines changed
lib/action_controller/metal Expand file tree Collapse file tree 3 files changed +5
-52
lines changed Original file line number Diff line number Diff line change 1+ * Remove ` respond_to ` /` respond_with ` placeholder methods, this functionality
2+ has been extracted to the ` responders ` gem.
3+
4+ * Carlos Antonio da Silva*
5+
16* Remove deprecated assertion files.
27
38 * Rafael Mendonça França*
Original file line number Diff line number Diff line change 33
44module ActionController #:nodoc:
55 module MimeResponds
6- extend ActiveSupport ::Concern
7-
8- module ClassMethods
9- def respond_to ( *)
10- raise NoMethodError , "The controller-level `respond_to' feature has " \
11- "been extracted to the `responders` gem. Add it to your Gemfile to " \
12- "continue using this feature:\n " \
13- " gem 'responders', '~> 2.0'\n " \
14- "Consult the Rails upgrade guide for details."
15- end
16- end
17-
18- def respond_with ( *)
19- raise NoMethodError , "The `respond_with' feature has been extracted " \
20- "to the `responders` gem. Add it to your Gemfile to continue using " \
21- "this feature:\n " \
22- " gem 'responders', '~> 2.0'\n " \
23- "Consult the Rails upgrade guide for details."
24- end
25-
266 # Without web-service support, an action which collects the data for displaying a list of people
277 # might look something like this:
288 #
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments