diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 19:14:02 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 19:53:16 +0300 |
commit | f87f6480b2ff6a80b50aa275f9c5d60c30d75b40 (patch) | |
tree | 1bebd32a5c5ed98a3b6c9514b72c348e66645268 /app/controllers/invites_controller.rb | |
parent | 1489d225d6763b0fdc3f418692e646587e06938a (diff) |
Use new routing helper
Diffstat (limited to 'app/controllers/invites_controller.rb')
-rw-r--r-- | app/controllers/invites_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/invites_controller.rb b/app/controllers/invites_controller.rb index eb3c8233530..8ef10a17f55 100644 --- a/app/controllers/invites_controller.rb +++ b/app/controllers/invites_controller.rb @@ -24,7 +24,7 @@ class InvitesController < ApplicationController path = if current_user - dashboard_path + dashboard_projects_path else new_user_session_path end @@ -73,7 +73,7 @@ class InvitesController < ApplicationController path = group_path(group) else label = "who knows what" - path = dashboard_path + path = dashboard_projects_path end [label, path] |