Update docs to use the new generator style simple_form:install

This commit is contained in:
Carlos Antonio da Silva 2010-06-04 02:19:37 -03:00
parent 1ef232cf6d
commit 17c12cb9b3
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
To copy a SimpleForm initializer to your Rails App, with some configuration values, just do:
script/generate simple_form_install
rails generate simple_form:install

View File

@ -61,7 +61,7 @@ module SimpleForm
mattr_accessor :default_input_size
@@default_input_size = 50
# Default way to setup SimpleForm. Run script/generate simple_form_install
# Default way to setup SimpleForm. Run script/generate simple_form:install
# to create a fresh initializer with all configuration values.
def self.setup
yield self