diff options
Diffstat (limited to 'config/routes/explore.rb')
-rw-r--r-- | config/routes/explore.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/explore.rb b/config/routes/explore.rb index 6ddf4d23138..6777571bb68 100644 --- a/config/routes/explore.rb +++ b/config/routes/explore.rb @@ -6,7 +6,7 @@ namespace :explore do get :trending get :starred get :topics - get 'topics/:topic_name', action: :topic, as: :topic, constraints: { topic_name: /.+/ } + get 'topics/:topic_name', action: :topic, as: :topic, constraints: { format: /(html|atom)/, topic_name: /.+?/ } end end |