add artist version search

This commit is contained in:
Toks
2013-05-17 14:46:00 -04:00
parent 2b427273b2
commit c250501bc4
5 changed files with 40 additions and 2 deletions

View File

@@ -63,7 +63,11 @@ Danbooru::Application.routes.draw do
get :banned
end
end
resources :artist_versions, :only => [:index]
resources :artist_versions, :only => [:index] do
collection do
get :search
end
end
resources :bans
resources :comments do
resources :votes, :controller => "comment_votes", :only => [:create, :destroy]