Commit da3dda8c
Changed files (2)
config
environments
config/environments/development.rb
@@ -27,6 +27,8 @@ Cake::Application.configure do
# Expands the lines which load the assets
config.assets.debug = true
+ config.assets.prefix = "/dev-assets"
+
# Raise exception on mass assignment protection for Active Record models
config.active_record.mass_assignment_sanitizer = :strict
config/application.rb
@@ -45,6 +45,8 @@ module Cake
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+ config.assets.initialize_on_precompile = false
+
config.to_prepare {
Devise::SessionsController.layout "application"
# Devise::RegistrationsController.layout proc{ |controller| user_signed_in? ? "application" : "users" }