Update docs to use the new generator style simple_form:install
This commit is contained in:
parent
1ef232cf6d
commit
17c12cb9b3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue