keep two caches of wardrobe, for those who have image mode and those who don't

This commit is contained in:
Emi Matchu 2011-07-02 18:02:33 -04:00
parent aaf01453b6
commit ba7f6b8768
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
- add_body_class 'fullscreen'
- cache do
- cache :action_suffix => "image_mode_#{can_use_image_mode?}" do
%a#home-link{:href => "/"}
%span Dress to Impress
%h1#title Planning an outfit

View file

@ -16,10 +16,11 @@ OpenneoImpressItems::Application.configure do
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
config.active_support.deprecation = :log
end
LocalImpressHost = 'betanewimpress.openneo.net'
RemoteImpressHost = 'beta.impress.openneo.net'