class CopyTunerClient::Engine

Connects to integration points for Rails 3 applications

def translate_with_copyray_comment(key, options = {})

def translate_with_copyray_comment(key, options = {})
  source = translate_without_copyray_comment(key, options)
  if !CopyTunerClient.configuration.disable_copyray_comment_injection && (options[:rescue_format] == :html || options[:rescue_format].nil?)
    CopyTunerClient::Copyray.augment_template(source, scope_key_by_partial(key))
  else
    source
  end
end