Sha256: 1fa4c9caf60b0929495f1bcbbcd35d16885fd457d05324e49de940c120b2b5ce

Contents?: true

Size: 259 Bytes

Versions: 13

Compression:

Stored size: 259 Bytes

Contents

<% configuration[:menu].each do |key, config| %>
  <%= content_tag :li, class: (action_name == key ? 'active' : '') do %>
    <%= link_to t("curation_concerns.dashboard.menu.#{key}"), polymorphic_path([curation_concerns, :admin, key])%>
  <% end %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.7 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-2.0.0 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-2.0.0.rc2 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.6 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.5 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.4 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.3 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.2 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-2.0.0.rc1 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.1 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.0 app/views/curation_concerns/admin/_admin_menu.html.erb
curation_concerns-1.7.0.beta1 app/views/curation_concerns/admin/_admin_menu.html.erb