Method: Phaseout::Handler#key

Defined in:
lib/phaseout/handler.rb

#keyObject



25
26
27
# File 'lib/phaseout/handler.rb', line 25

def key
  @key ||= I18n.transliterate( [ 'seo_key:', @controller.class.name, '#', @action, ':', eval_pattern(@key_pattern) ].join.gsub(/\s+/, '_').underscore )
end