class RailsBand::ActionController::Event::RedirectTo
A wrapper for the event that is passed to ‘redirect_to.action_controller`.
Public Instance Methods
location()
click to toggle source
# File lib/rails_band/action_controller/event/redirect_to.rb, line 12 def location @location ||= @event.payload.fetch(:location) end
status()
click to toggle source
# File lib/rails_band/action_controller/event/redirect_to.rb, line 8 def status @status ||= @event.payload.fetch(:status) end