class ActionController::Base

Public Instance Methods

translate_with_annotation(key, options={}) click to toggle source

Add a translate (or t) method to ActionController

# File lib/annotranslate.rb, line 320
def translate_with_annotation(key, options={})
  AnnoTranslate.translate_with_annotation([self.controller_name, self.action_name], @virtual_path, key, options)
end