summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/_profile.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-25 18:35:04 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-25 18:35:04 +0200
commit592e396869ba5dc116cec333733cea8dfbf4a9b5 (patch)
treed673da869a071d7e886491a51ce53c9829207e82 /app/views/layouts/nav/_profile.html.haml
parent7fe8d41d88f744b16e6e12c1c07ef3f956994110 (diff)
downloadgitlab-ce-592e396869ba5dc116cec333733cea8dfbf4a9b5.tar.gz
Rework oauth2 feature
* improve UI * add authorization * add separate page for oauth applications Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/layouts/nav/_profile.html.haml')
-rw-r--r--app/views/layouts/nav/_profile.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_profile.html.haml b/app/views/layouts/nav/_profile.html.haml
index f68fe87a75b..8bb45e4a6d0 100644
--- a/app/views/layouts/nav/_profile.html.haml
+++ b/app/views/layouts/nav/_profile.html.haml
@@ -3,10 +3,14 @@
= link_to profile_path, title: "Profile" do
%i.fa.fa-user
Profile
- = nav_link(controller: [:accounts, :applications]) do
+ = nav_link(controller: [:accounts]) do
= link_to profile_account_path do
%i.fa.fa-gear
Account
+ = nav_link(path: ['profiles#applications', 'applications#edit', 'applications#show', 'applications#new']) do
+ = link_to applications_profile_path do
+ %i.fa.fa-cloud
+ Applications
= nav_link(controller: :emails) do
= link_to profile_emails_path do
%i.fa.fa-envelope-o