adds comments to debates [#7]
This commit is contained in:
@@ -5,7 +5,9 @@ Rails.application.routes.draw do
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
root 'welcome#index'
|
||||
resources :debates
|
||||
resources :debates do
|
||||
resources :comments, only: :create
|
||||
end
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
||||
Reference in New Issue
Block a user