Regions filter is now cached, the main adl page should render faster...

This commit is contained in:
echarp 2018-07-14 19:23:56 +02:00
parent 613b1f0e0a
commit 6ef85409ea

View File

@ -21,7 +21,8 @@
controller.controller_name, controller.action_name] controller.controller_name, controller.action_name]
%body{ class: classes } %body{ class: classes }
%header.top %header.top
= render '/regions/filter' - cache "regions_filter_#{session[:region]}" do
= render '/regions/filter'
= image_tag 'baby_gnu_adl.png', alt: '', class: :logo = image_tag 'baby_gnu_adl.png', alt: '', class: :logo
= render '/orgas/search' = render '/orgas/search'