fixes #51: Post change search issue

This commit is contained in:
albert
2011-09-14 13:13:28 -04:00
parent 5abf3f096e
commit 12d85416ec
5 changed files with 31 additions and 11 deletions

View File

@@ -94,8 +94,11 @@ Danbooru::Application.routes.draw do
put :revert
end
end
resources :post_versions, :only => [:index]
resources :post_versions, :only => [:index, :search] do
collection do
get :search
end
end
resources :post_flags, :only => [:new, :index, :create]
resources :post_appeals, :only => [:new, :index, :create]
resource :session