diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-03 15:38:27 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-03 16:13:59 -0500 |
commit | 01b89ee8f17f837544d744c021b92950426a60d8 (patch) | |
tree | 24e5cae380242ff2bd1dc4b51ab36a463c3c343a /app/views | |
parent | 9db57bc65a53b19714e7b867bdb75c85058013cf (diff) | |
download | gitlab-ce-01b89ee8f17f837544d744c021b92950426a60d8.tar.gz |
Remove `Profile::KeysController#new` action
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/profiles/keys/new.html.haml | 6 | ||||
-rw-r--r-- | app/views/shared/_no_ssh.html.haml | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/app/views/profiles/keys/new.html.haml b/app/views/profiles/keys/new.html.haml deleted file mode 100644 index 3470b83def5..00000000000 --- a/app/views/profiles/keys/new.html.haml +++ /dev/null @@ -1,6 +0,0 @@ -- page_title "Add SSH Keys" -%h3.page-title Add an SSH Key -%p.light - Paste your public key here. Read more about how to generate a key on #{link_to "the SSH help page", help_page_path("ssh", "README")}. -%hr -= render 'form' 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' |