recipes/views.rb in rails_apps_composer-2.2.13 vs recipes/views.rb in rails_apps_composer-2.2.14
- old
+ new
@@ -22,10 +22,12 @@
### USERS ###
if ['users_app','admin_app','subdomains_app'].include? prefs[:starter_app]
## INDEX
if prefer :starter_app, 'admin_app'
copy_from_repo 'app/views/users/index.html.erb', :repo => 'https://raw.github.com/RailsApps/rails3-bootstrap-devise-cancan/master/'
- copy_from_repo 'app/views/users/_user.html.erb', :repo => 'https://raw.github.com/RailsApps/rails3-bootstrap-devise-cancan/master/'
+ unless prefer :railsapps, 'rails-prelaunch-signup'
+ copy_from_repo 'app/views/users/_user.html.erb', :repo => 'https://raw.github.com/RailsApps/rails3-bootstrap-devise-cancan/master/'
+ end
else
copy_from_repo 'app/views/users/index.html.erb'
end
## SHOW
copy_from_repo 'app/views/users/show.html.erb'
\ No newline at end of file