Sha256: eea3f0501283e3a6d886a87a4137fa6959fe509c49525b7f9af2149c8f3f7b1b

Contents?: true

Size: 621 Bytes

Versions: 3

Compression:

Stored size: 621 Bytes

Contents

%ul.nav.navbar-nav.navbar-right.root_links
  - actions(:root).each do |action|
    %li{class: "#{action.action_name}_root_link"}= link_to wording_for(:menu, action), { action: action.action_name, controller: 'rails_admin/main' }, class: "pjax"
  - if main_app_root_path = (main_app.root_path rescue false)
    %li= link_to t('admin.home.name'), main_app_root_path
  - if _current_user
    - if user_link = edit_user_link
      %li.edit_user_root_link= user_link
    - if logout_path.present?
      %li= link_to content_tag('span', t('admin.misc.log_out'), class: 'label label-danger'), logout_path, method: logout_method

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rails_admin-0.8.1 app/views/layouts/rails_admin/_secondary_navigation.html.haml
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.7.0/app/views/layouts/rails_admin/_secondary_navigation.html.haml
rails_admin-0.7.0 app/views/layouts/rails_admin/_secondary_navigation.html.haml