Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails resources

get '/patients/:id', to: 'patients#show'
# url: your_site/patients/12
Source by guides.rubyonrails.org #
 
PREVIOUS NEXT
Tagged: #rails #resources
ADD COMMENT
Topic
Name
8+5 =