AutoCommit Son Aug 2 16:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-02 16:03:01 +02:00
parent 270f42bba1
commit bbb924fcfb
5 changed files with 18 additions and 14 deletions

View File

@@ -1,5 +1,14 @@
Fetsite::Application.routes.draw do
resources :comments
resources :comments, except: [:show] do
collection do
get 'hide'
end
end
resources :comments, contstraints: {id: /[0-9]+/}, only: :show
namespace :survey do
resources :questions do
@@ -161,11 +170,6 @@
end
end
end
resources :comments do
collection do
get 'hide'
end
end
resources :home, :only=>[:index] do
get :search, :on => :collection
collection do