rosa-build/app/views/advisories/_submenu.html.haml

8 lines
256 B
Plaintext
Raw Normal View History

- content_for :submenu do
- act = action_name.to_sym; contr = controller_name.to_sym
.left
= @advisory.advisory_id if @advisory.present?
%nav
%ul
2014-01-21 04:51:49 +00:00
%li= link_to t('layout.list'), advisories_path, class: act.in?([:index]) ? 'active' : nil