Method: Strongbolt::BoltedController::ClassMethods#render_without_authorization
- Defined in:
- lib/strongbolt/bolted_controller.rb
#render_without_authorization(*actions) ⇒ Object
Render without authorization, for better performance
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/strongbolt/bolted_controller.rb', line 92 def (*actions) self. = [*actions] class_eval do # # It needs to be created afterward, # No idea why # def render(*args) if Strongbolt. { _render(*args) } else _render(*args) end end end end |