Class: TbCore::Responder
- Inherits:
-
ActionController::Responder
- Object
- ActionController::Responder
- TbCore::Responder
- Defined in:
- lib/tb_core/responder.rb
Instance Method Summary collapse
-
#initialize ⇒ Responder
constructor
A new instance of Responder.
Constructor Details
#initialize ⇒ Responder
Returns a new instance of Responder.
3 4 5 6 7 8 9 10 |
# File 'lib/tb_core/responder.rb', line 3 def initialize(*) super # Don't require a :location parameter for redirecting if !@options.key?(:location) @options[:location] = nil end end |