active_template.rb in active_leonardo-0.0.4 vs active_template.rb in active_leonardo-0.0.5
- old
+ new
@@ -62,10 +62,13 @@
REMEM
p stdout
end
authorization = yes?("Authorization ?")
- gem 'cancan' if authorization
+ if authorization
+ gem 'cancan'
+ gem 'activeadmin-cancan'
+ end
end
dashboard_root = yes?("Would you use dashboard as root ? (recommended)")
home = yes?("Ok. Would you create home controller as root ?") unless dashboard_root