added popular exploration, added order:rank

This commit is contained in:
albert
2011-08-11 15:39:51 -04:00
parent bd51079fc1
commit e42ea9c608
25 changed files with 296 additions and 61 deletions

View File

@@ -125,9 +125,11 @@ Danbooru::Application.routes.draw do
resources :wiki_page_versions, :only => [:index, :show]
namespace :explore do
namespace :post do
resource :popular, :only => [:show]
resource :hot, :only => [:show]
resources :posts, :only => [:popular, :hot] do
collection do
get :popular
get :hot
end
end
end