method
hide_action
v4.1.8 -
Show latest stable
-
1 note -
Class: ActionController::HideActions::ClassMethods
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0 (0)
- 3.0.9 (-3)
- 3.1.0 (1)
- 3.2.1 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- 4.0.2 (0)
- 4.1.8 (0)
- 4.2.1 (0)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
hide_action(*args)
public
Sets all of the actions passed in as hidden actions.
Parameters
-
args - A list of actions
Register or
log in
to add new notes.
taryneast -
January 17, 2019 - (v4.2.7)
0 thanks
This method has been completely removed from Rails 5 onwards
Completely removed from Rails from 5 onwards. See issue: github.com/rails/rails/issues/18336
Just remove from your codebase, or protect with `private` keyword