lib/generators/cm_admin/install_generator.rb in cm-admin-0.6.1 vs lib/generators/cm_admin/install_generator.rb in cm-admin-0.6.2
- old
+ new
@@ -7,9 +7,10 @@
def copy_initializer
copy_file 'cm_admin_initializer.rb', 'config/initializers/cm_admin.rb'
copy_file 'custom.js', 'app/assets/javascripts/custom.js'
copy_file 'custom.css', 'app/assets/stylesheets/custom.css'
+ copy_file 'application_policy.rb', 'app/policies/application_policy.rb'
route 'mount CmAdmin::Engine => "/admin"'
end
end
end
end
\ No newline at end of file