Permalink
Browse files

Fix styiling issue on TranslationHelper docs

  • Loading branch information...
1 parent 1f7d55e commit 350b977e5b2cb1d7d9a0465e8069eb689a2e9c74 @smartinez87 smartinez87 committed May 10, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_view/helpers/translation_helper.rb
View
8 actionpack/lib/action_view/helpers/translation_helper.rb
@@ -15,10 +15,10 @@ module ActionView
# = Action View Translation Helpers
module Helpers
module TranslationHelper
- # Delegates to I18n#translate but also performs three additional functions.
+ # Delegates to <tt>I18n#translate</tt> but also performs three additional functions.
#
- # First, it'll pass the :rescue_format => :html option to I18n so that any
- # thrown MissingTranslation messages will be turned into inline spans that
+ # First, it'll pass the <tt>:rescue_format => :html</tt> option to I18n so that any
+ # thrown +MissingTranslation+ messages will be turned into inline spans that
#
# * have a "translation-missing" class set,
# * contain the missing key as a title attribute and
@@ -54,7 +54,7 @@ def translate(key, options = {})
end
alias :t :translate
- # Delegates to I18n.localize with no additional functionality.
+ # Delegates to <tt>I18n.localize</tt> with no additional functionality.
def localize(*args)
I18n.localize(*args)
end

0 comments on commit 350b977

Please sign in to comment.