mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 11:14:42 +08:00
The "Best Of" mode uses a percentage ranking of posts.
This commit is contained in:
@ -171,7 +171,7 @@ Discourse::Application.routes.draw do
|
||||
get 'threads/:topic_id/:post_number/avatar' => 'topics#avatar', :constraints => {:topic_id => /\d+/, :post_number => /\d+/}
|
||||
|
||||
# Topic routes
|
||||
get 't/:slug/:topic_id/best_of' => 'topics#show', :constraints => {:topic_id => /\d+/, :post_number => /\d+/}
|
||||
get 't/:slug/:topic_id/best_of' => 'topics#show', :defaults => {best_of: true}, :constraints => {:topic_id => /\d+/, :post_number => /\d+/}
|
||||
get 't/:topic_id/best_of' => 'topics#show', :constraints => {:topic_id => /\d+/, :post_number => /\d+/}
|
||||
put 't/:slug/:topic_id' => 'topics#update', :constraints => {:topic_id => /\d+/}
|
||||
put 't/:slug/:topic_id/star' => 'topics#star', :constraints => {:topic_id => /\d+/}
|
||||
|
Reference in New Issue
Block a user