pagination update

This commit is contained in:
Andreas Stephanides
2014-09-24 14:39:59 +02:00
parent fc48959e48
commit a8dd419f9e
17 changed files with 109 additions and 57 deletions

View File

@@ -132,7 +132,11 @@ Fetsite::Application.routes.draw do
end
end
end
resources :comments
resources :comments do
collection do
get 'hide'
end
end
resources :home, :only=>[:index] do
get :search, :on => :collection
collection do
@@ -160,6 +164,7 @@ Fetsite::Application.routes.draw do
get :attachments
get :fragen
get :verwalten
get :sanitize
end
resources :attachments
end