summaryrefslogtreecommitdiff
path: root/app/controllers/projects
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-09-08 17:14:02 +0100
committerDouwe Maan <douwe@gitlab.com>2015-09-08 17:53:16 +0100
commitf87f6480b2ff6a80b50aa275f9c5d60c30d75b40 (patch)
tree1bebd32a5c5ed98a3b6c9514b72c348e66645268 /app/controllers/projects
parent1489d225d6763b0fdc3f418692e646587e06938a (diff)
downloadgitlab-ce-f87f6480b2ff6a80b50aa275f9c5d60c30d75b40.tar.gz
Use new routing helper
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/project_members_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/project_members_controller.rb b/app/controllers/projects/project_members_controller.rb
index b82b6f45d59..cf73bc01c8f 100644
--- a/app/controllers/projects/project_members_controller.rb
+++ b/app/controllers/projects/project_members_controller.rb
@@ -78,7 +78,7 @@ class Projects::ProjectMembersController < Projects::ApplicationController
@project.project_members.find_by(user_id: current_user).destroy
respond_to do |format|
- format.html { redirect_to dashboard_path }
+ format.html { redirect_to dashboard_projects_path }
format.js { render nothing: true }
end
end