Sha256: 696dc3aaf732a43b3ee36520dfc7065ea562bbeabb2af83e8a74d8b22548df8e
Contents?: true
Size: 669 Bytes
Versions: 45
Compression:
Stored size: 669 Bytes
Contents
- case controller_name - when 'products' then @active = :shop - when 'articles', 'article_categories', 'categories' then @active = :materials - when 'users', 'managers' then @active = :system .main-menu = link_to 'Материалы', nil, class: ['main-menu__link b_folder', ('_active' if @active == :shop)] = link_to 'Обратная связь', nil, class: ['main-menu__link b_home', ('_active' if @active == :materials)] = link_to 'Система', [:admin, :managers], class: ['main-menu__link b_cog', ('_active' if @active == :system)] -# and b_list icon -# %span.main-menu__time= Russian.strftime(Time.now, '%d %b, %Y %H:%M ')
Version data entries
45 entries across 45 versions & 1 rubygems