Class: TbCore::Responder

Inherits:
ActionController::Responder
  • Object
show all
Defined in:
lib/tb_core/responder.rb

Instance Method Summary collapse

Constructor Details

#initializeResponder

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