#1938: Add random post link

This commit is contained in:
Toks
2013-09-17 15:51:41 -04:00
parent ac9a08c4ec
commit ab7d3f69a4
4 changed files with 10 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ Danbooru::Application.routes.draw do
resources :votes, :controller => "post_votes", :only => [:create, :destroy]
collection do
get :home
get :random
end
member do
put :revert