Better formatting on ActiveModel::Translation

This commit is contained in:
Sebastian Martinez 2011-04-26 23:26:10 -03:00
parent c1132f7093
commit a2bfa5fa30

@ -18,12 +18,12 @@ module ActiveModel
#
# This also provides the required class methods for hooking into the
# Rails internationalization API, including being able to define a
# class based i18n_scope and lookup_ancestors to find translations in
# class based +i18n_scope+ and +lookup_ancestors+ to find translations in
# parent classes.
module Translation
include ActiveModel::Naming
# Returns the i18n_scope for the class. Overwrite if you want custom lookup.
# Returns the +i18n_scope+ for the class. Overwrite if you want custom lookup.
def i18n_scope
:activemodel
end