diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2011-09-02 13:31:00 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2011-09-02 13:31:00 +0400 |
commit | e61d6afbab24163d37a73b25262ef73119b99a78 (patch) | |
tree | 2e53e6699aa339e0039f6fb4041d207b0015ca4c /railties/lib/rails/generators | |
parent | 6f3c6992c529a09c8f8bfdb1f714bb8ff1e23300 (diff) | |
download | rails-e61d6afbab24163d37a73b25262ef73119b99a78.tar.gz rails-e61d6afbab24163d37a73b25262ef73119b99a78.tar.bz2 rails-e61d6afbab24163d37a73b25262ef73119b99a78.zip |
fix indent for generator environment method
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index b8541c236e..a7462f39ba 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -97,7 +97,7 @@ module Rails in_root do if options[:env].nil? - inject_into_file 'config/application.rb', "\n #{data}", :after => sentinel, :verbose => false + inject_into_file 'config/application.rb', "\n #{data}", :after => sentinel, :verbose => false else Array.wrap(options[:env]).each do |env| inject_into_file "config/environments/#{env}.rb", "\n #{data}", :after => env_file_sentinel, :verbose => false |