Module: Rakwik::Helpers::InstanceMethods

Defined in:
lib/rakwik/helpers.rb

Instance Method Summary collapse

Instance Method Details

#set_action_nameObject



22
23
24
25
# File 'lib/rakwik/helpers.rb', line 22

def set_action_name
  return if self.class.rakwik[:action_name].nil?
  request.env['rakwik.action_name'] = instance_variable_get("@#{self.class.rakwik[:action_name]}")
end