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/explore.rb')
-rw-r--r--config/routes/explore.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/explore.rb b/config/routes/explore.rb
index c6bf98b6fb3..6ddf4d23138 100644
--- a/config/routes/explore.rb
+++ b/config/routes/explore.rb
@@ -5,6 +5,8 @@ namespace :explore do
collection do
get :trending
get :starred
+ get :topics
+ get 'topics/:topic_name', action: :topic, as: :topic, constraints: { topic_name: /.+/ }
end
end