FIX: newly created categories were not showing up

This commit is contained in:
Arpit Jalan
2016-03-14 22:08:29 +05:30
parent 7e97724341
commit ff12b5bf57
6 changed files with 50 additions and 3 deletions

View File

@ -430,6 +430,8 @@ Discourse::Application.routes.draw do
put "category/:category_id/slug" => "categories#update_slug"
get "c/:id/show" => "categories#show"
get "c/:category_slug/find_by_slug" => "categories#find_by_slug"
get "c/:parent_category_slug/:category_slug/find_by_slug" => "categories#find_by_slug"
get "c/:category.rss" => "list#category_feed", format: :rss
get "c/:parent_category/:category.rss" => "list#category_feed", format: :rss
get "c/:category" => "list#category_latest"