Module: Rad::HttpController::ClassMethods
- Defined in:
- lib/rad/controller/http_controller.rb
Instance Method Summary collapse
Instance Method Details
#allow_get_for(*methods) ⇒ Object
30 31 32 33 |
# File 'lib/rad/controller/http_controller.rb', line 30 def allow_get_for *methods enable_protection_from_get_requests! actions_allowed_for_get_request.push *methods end |