wiki page work

This commit is contained in:
albert
2011-03-11 17:02:27 -05:00
parent 851d1fa26d
commit 7dd345ca75
11 changed files with 77 additions and 78 deletions

View File

@@ -66,7 +66,7 @@ Danbooru::Application.routes.draw do
put :revert
end
end
resources :wiki_page_versions, :only => [:index]
resources :wiki_page_versions, :only => [:index, :show]
match '/favorites/:id' => 'favorites#create', :via => :post, :as => "favorite"
match '/favorites/:id' => 'favorites#destroy', :via => :delete, :as => "favorite"