summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_profile.html.haml
blob: e5e4b27c6658ecac3d8af9a9b1147456db8c01e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%ul
  = nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
    = link_to profile_path, title: "Profile" do
      %i.icon-home
  = nav_link(path: 'profiles#account') do
    = link_to "Account", account_profile_path
  = nav_link(controller: :notifications) do
    = link_to "Notifications", profile_notifications_path
  = nav_link(controller: :keys) do
    = link_to keys_path do
      SSH Keys
      %span.count= current_user.keys.count
  = nav_link(path: 'profiles#design') do
    = link_to "Design", design_profile_path
  = nav_link(path: 'profiles#history') do
    = link_to "History", history_profile_path