Mercurial > zeropaste
comparison config/application.rb @ 54:e8920b00035c
Moved cache to dedicated directory.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 04 Oct 2012 04:37:41 +0700 |
parents | 86948069ef60 |
children | bfa612a1d56f |
comparison
equal
deleted
inserted
replaced
53:817c54a72b58 | 54:e8920b00035c |
---|---|
66 # Enable the asset pipeline | 66 # Enable the asset pipeline |
67 config.assets.enabled = true | 67 config.assets.enabled = true |
68 | 68 |
69 # Version of your assets, change this if you want to expire all your assets | 69 # Version of your assets, change this if you want to expire all your assets |
70 config.assets.version = '1.0' | 70 config.assets.version = '1.0' |
71 | |
72 # Save cache in different location to avoid collision. | |
73 config.action_controller.page_cache_directory = config.root.join('public', 'cache') | |
71 end | 74 end |
72 end | 75 end |