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' - add_body_class 'fullscreen'
- cache do - cache :action_suffix => "image_mode_#{can_use_image_mode?}" do
%a#home-link{:href => "/"} %a#home-link{:href => "/"}
%span Dress to Impress %span Dress to Impress
%h1#title Planning an outfit %h1#title Planning an outfit

View file

@ -23,3 +23,4 @@ end
LocalImpressHost = 'betanewimpress.openneo.net' LocalImpressHost = 'betanewimpress.openneo.net'
RemoteImpressHost = 'beta.impress.openneo.net' RemoteImpressHost = 'beta.impress.openneo.net'