Sha256: 59b6e6e320ddfa6a2aa80a1735d10d9fb6b7f4466807c3c2d14004cdee226b4b
Contents?: true
Size: 548 Bytes
Versions: 16
Compression:
Stored size: 548 Bytes
Contents
%ul.l-page__main-menu %li= link_to t("views.main_menu.root"), root_path %li= link_to t("views.main_menu.news"), news_articles_path %li.with-sub-menu = link_to t("views.main_menu.catalog"), catalog_index_path %ul.sub-menu - Model::CATEGORIES.each do |category| - if Model.where(category: category).count > 0 %li= link_to t("views.main_menu.categories.#{category}"), catalog_path(category) %li= link_to t("views.main_menu.user_form"), new_model_path %li= link_to t("views.main_menu.contacts"), contacts_path
Version data entries
16 entries across 16 versions & 1 rubygems