Basic CRU operations [#5]

This commit is contained in:
rgarcia
2015-07-16 19:22:20 +02:00
parent 7ba6fc50bb
commit be342cac76
9 changed files with 111 additions and 4 deletions

View File

@@ -3,7 +3,8 @@ Rails.application.routes.draw do
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
# root 'welcome#index'
root 'welcome#index'
resources :debates
# Example of regular route:
# get 'products/:id' => 'catalog#view'