Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/user.rb')
-rw-r--r--config/routes/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes/user.rb b/config/routes/user.rb
index 515a9a23360..41319b6d730 100644
--- a/config/routes/user.rb
+++ b/config/routes/user.rb
@@ -46,9 +46,13 @@ scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) d
get :contributed, as: :contributed_projects
get :starred, as: :starred_projects
get :snippets
+ get :followers
+ get :following
get :exists
get :suggests
get :activity
+ post :follow
+ post :unfollow
get '/', to: redirect('%{username}'), as: nil
end
end