Method: Strongbolt::BoltedController::InstanceMethods#render

Defined in:
lib/strongbolt/bolted_controller.rb

#render(*args) ⇒ Object

We’re aliasing render so we can trigger the without auth

DOESN’T WORK WHEN DEFINED HERE?



159
160
161
162
163
164
165
# File 'lib/strongbolt/bolted_controller.rb', line 159

def render(*args)
  if render_without_authorization?
    Strongbolt.without_authorization { _render(*args) }
  else
    _render(*args)
  end
end