Skip to content

Commit

Permalink
thin out config template documentation for localizer from pull formta…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Oct 24, 2011
1 parent b42542c commit 373fbd4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/generators/templates/formtastic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@
# Formtastic::FormBuilder.i18n_lookups_by_default = false

# Specifies the class to use for localization lookups. You can create your own
# class and use it instead. It must have a `localize` method - see
# `Formtastic::Localizer` for details. (You may want to inherit from that
# class to call `super`.)
# Formtastic::FormBuilder.i18n_localizer = Formtastic::Localizer
# class and use it instead by subclassing Formtastic::Localizer (which is the default).
# Formtastic::FormBuilder.i18n_localizer = MyOwnLocalizer

# You can add custom inputs or override parts of Formtastic by subclassing Formtastic::FormBuilder and
# specifying that class here. Defaults to Formtastic::FormBuilder.
Expand Down

0 comments on commit 373fbd4

Please sign in to comment.