Answers for "collection in rails routs"

0

rails resources only

resources :controller_name, only: [:create, :new]
Posted by: Guest on December-08-2020
0

rails resources

get '/patients/:id', to: 'patients#show'
# url: your_site/patients/12
Posted by: Guest on January-19-2021

Code answers related to "collection in rails routs"

Browse Popular Code Answers by Language