recipes/routes.rb in rails_apps_composer-2.2.9 vs recipes/routes.rb in rails_apps_composer-2.2.10
- old
+ new
@@ -19,11 +19,11 @@
copy_from_repo 'lib/subdomain.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
copy_from_repo 'config/routes.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
### CORRECT APPLICATION NAME ###
gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
### GIT ###
- git :add => '.' if prefer :git, true
- git :commit => "-aqm 'rails_apps_composer: routes'" if prefer :git, true
+ git :add => '-A' if prefer :git, true
+ git :commit => "-qm 'rails_apps_composer: routes'" if prefer :git, true
end # after_bundler
__END__
name: routes
\ No newline at end of file