Sha256: aedcd1a9c35173e818435d008aca7bb17fbdf2d7a75cdf86191909a9ac4950ea

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

<ul>
  <li><%= link_to _t("Dashboard"), admin_dashboard_path %></li>
  <% @current_user.applications.each do |app| %>
    <% klass = Typus.application(app).include?(@resource.name) ? 'active' : nil %>
    <li><%= link_to _t(app), { :controller => Typus.application(app).sort {|a,b| a.constantize.model_name.human <=> b.constantize.model_name.human}.first.tableize }, { :class => klass } %></li>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typus-1.0.0.pre8 app/views/admin/helpers/_apps.html.erb