working form

This commit is contained in:
Senad Uka
2016-09-08 09:59:42 +02:00
parent ec1926dec6
commit 50df27b0c0
60 changed files with 76113 additions and 46 deletions

View File

@@ -1,3 +1,11 @@
Rails.application.routes.draw do
resources :authors
resources :users
resources :proverbs do
collection do
get 'random'
end
end
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root to: 'proverbs#random'
end