summaryrefslogtreecommitdiff
path: root/app/views/shared/_no_ssh.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-03-03 15:38:27 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-03-03 16:13:59 -0500
commit01b89ee8f17f837544d744c021b92950426a60d8 (patch)
tree24e5cae380242ff2bd1dc4b51ab36a463c3c343a /app/views/shared/_no_ssh.html.haml
parent9db57bc65a53b19714e7b867bdb75c85058013cf (diff)
downloadgitlab-ce-01b89ee8f17f837544d744c021b92950426a60d8.tar.gz
Remove `Profile::KeysController#new` action
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r--app/views/shared/_no_ssh.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index 089179e677a..bb5fff2d3bb 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,6 +1,6 @@
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
.no-ssh-key-message.alert.alert-warning.hidden-xs
- You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path, class: 'alert-link'} to your profile
+ You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', profile_keys_path, class: 'alert-link'} to your profile
.pull-right
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'