keep two caches of wardrobe, for those who have image mode and those who don't
This commit is contained in:
parent
aaf01453b6
commit
ba7f6b8768
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -16,10 +16,11 @@ OpenneoImpressItems::Application.configure do
|
||||||
|
|
||||||
# Don't care if the mailer can't send
|
# Don't care if the mailer can't send
|
||||||
config.action_mailer.raise_delivery_errors = false
|
config.action_mailer.raise_delivery_errors = false
|
||||||
|
|
||||||
config.active_support.deprecation = :log
|
config.active_support.deprecation = :log
|
||||||
end
|
end
|
||||||
|
|
||||||
LocalImpressHost = 'betanewimpress.openneo.net'
|
LocalImpressHost = 'betanewimpress.openneo.net'
|
||||||
|
|
||||||
RemoteImpressHost = 'beta.impress.openneo.net'
|
RemoteImpressHost = 'beta.impress.openneo.net'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue