File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
actionpack/lib/abstract_controller Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,10 @@ def internal_methods
86
86
controller . public_instance_methods ( true ) - methods
87
87
end
88
88
89
- # A list of method names that should be considered actions. This includes all
89
+ # A `Set` of method names that should be considered actions. This includes all
90
90
# public instance methods on a controller, less any internal methods (see
91
91
# internal_methods), adding back in any methods that are internal, but still
92
92
# exist on the class itself.
93
- #
94
- # #### Returns
95
- # * `Set` - A set of all methods that should be considered actions.
96
- #
97
93
def action_methods
98
94
@action_methods ||= begin
99
95
# All public instance methods of this class, including ancestors except for
@@ -121,9 +117,6 @@ def clear_action_methods!
121
117
#
122
118
# MyApp::MyPostsController.controller_path # => "my_app/my_posts"
123
119
#
124
- # #### Returns
125
- # * `String`
126
- #
127
120
def controller_path
128
121
@controller_path ||= name . delete_suffix ( "Controller" ) . underscore unless anonymous?
129
122
end
@@ -151,10 +144,6 @@ def eager_load! # :nodoc:
151
144
# The actual method that is called is determined by calling #method_for_action.
152
145
# If no method can handle the action, then an AbstractController::ActionNotFound
153
146
# error is raised.
154
- #
155
- # #### Returns
156
- # * `self`
157
- #
158
147
def process ( action , ...)
159
148
@_action_name = action . to_s
160
149
You can’t perform that action at this time.
0 commit comments