diff options
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 1 | ||||
-rw-r--r-- | app/views/layouts/header/_new.html.haml | 1 | ||||
-rw-r--r-- | app/views/shared/repo/_user_dropdown_link.html.haml | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index c7aa97a351f..b32cfe158bb 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -76,7 +76,6 @@ = link_to "Settings", profile_path %li = link_to "Turn on new navigation", profile_preferences_path(anchor: "new-navigation") - = render 'shared/repo/user_dropdown_link' %li.divider %li = link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link" diff --git a/app/views/layouts/header/_new.html.haml b/app/views/layouts/header/_new.html.haml index 0734cdfc05e..2c1c23d6ea9 100644 --- a/app/views/layouts/header/_new.html.haml +++ b/app/views/layouts/header/_new.html.haml @@ -70,7 +70,6 @@ = link_to "Settings", profile_path %li = link_to "Turn off new navigation", profile_preferences_path(anchor: "new-navigation") - = render 'shared/repo/user_dropdown_link' %li.divider %li = link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link" diff --git a/app/views/shared/repo/_user_dropdown_link.html.haml b/app/views/shared/repo/_user_dropdown_link.html.haml deleted file mode 100644 index bddd83a123d..00000000000 --- a/app/views/shared/repo/_user_dropdown_link.html.haml +++ /dev/null @@ -1 +0,0 @@ -%li= link_to "Turn #{show_new_repo? ? 'off' : 'on'} new repository", profile_preferences_path(anchor: "new-repository") |