AutoCommit Son Aug 2 16:03:01 CEST 2015
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user