lib/potassium/templates/application/recipes/angular_admin.rb in potassium-1.3.3 vs lib/potassium/templates/application/recipes/angular_admin.rb in potassium-1.3.4
- old
+ new
@@ -1,5 +1,5 @@
-if get(:angular_admin)
+if selected?(:angular_admin)
after(:admin_install) do
copy_file 'assets/active_admin/init_activeadmin_angular.rb', 'config/initializers/init_activeadmin_angular.rb'
create_file 'app/assets/javascripts/admin_app.js', "angular.module('ActiveAdmin', []);"