recipes/pages.rb in rails_apps_composer-3.1.19 vs recipes/pages.rb in rails_apps_composer-3.1.20
- old
+ new
@@ -16,17 +16,17 @@
generate 'pages:about -f'
generate 'pages:users -f'
generate 'pages:roles -f' if prefer :authorization, 'roles'
generate 'pages:authorized -f' if prefer :authorization, 'pundit'
end
- generate 'administrate:install' if prefer :dashboard, 'administrate'
### GIT ###
git :add => '-A' if prefer :git, true
git :commit => '-qm "rails_apps_composer: add pages"' if prefer :git, true
end
stage_four do
say_wizard "recipe stage four"
+ generate 'administrate:install' if prefer :dashboard, 'administrate'
case prefs[:layouts]
when 'bare'
generate 'theme:bare -f'
when 'blog_home'
generate 'theme:blog_home -f'