% semantic_navigation :application_nav, html: { class: 'nav' } do |n| %> <%#= link_to('Dashboard', dashboard_path, :data => {:pjax => '#main'}) %> <%= n.item '', link: domains_path do %> My Domains <% end %> <%= n.item '', link: hosts_path do %> Dynamic Hosts <% end %> <%= n.item '', link: page_path('help') do %> Help & Support <% end %> <% end %> <% semantic_navigation :user_nav, html: { class: 'nav pull-right' } do |n| %> <%= n.item '', link: Settings.news_link, html: { rel: 'tooltip', title: Settings.news_link } do %> News <% end %> <%= n.item '', link: page_path('donate'), html: { rel: 'tooltip', title: 'PayPal', class: 'highlight' } do %> Donate <% end %>