Skip to content

Instantly share code, notes, and snippets.

@chopmann
Created December 8, 2014 19:58
Show Gist options
  • Save chopmann/1382d6a0ac43c19a9187 to your computer and use it in GitHub Desktop.
Save chopmann/1382d6a0ac43c19a9187 to your computer and use it in GitHub Desktop.
| URL Mappings Configured for Application
| ---------------------------------------
Controller: appointment
| GET | /courses/${courseId}/appointments | Action: index |
| GET | /courses/${courseId}/appointments/create | Action: create |
| POST | /courses/${courseId}/appointments | Action: save |
| GET | /courses/${courseId}/appointments/${id} | Action: show |
| GET | /courses/${courseId}/appointments/${id}/edit | Action: edit |
| PUT | /courses/${courseId}/appointments/${id} | Action: update |
| PATCH | /courses/${courseId}/appointments/${id} | Action: patch |
| DELETE | /courses/${courseId}/appointments/${id} | Action: delete |
Controller: course
| GET | /courses | Action: index |
| GET | /courses/create | Action: create |
| POST | /courses | Action: save |
| GET | /courses/${id} | Action: show |
| GET | /courses/${id}/edit | Action: edit |
| PUT | /courses/${id} | Action: update |
| PATCH | /courses/${id} | Action: patch |
| DELETE | /courses/${id} | Action: delete |
Controller: member
| GET | /courses/${courseId}/members | Action: index |
| POST | /courses/${courseId}/members | Action: save |
| DELETE | /courses/${courseId}/members | Action: delete |
Ist nur scaffold--> Wird noch angepasst!
Controller: template
| GET | /templates | Action: index |
| GET | /templates/create | Action: create |
| POST | /templates | Action: save |
| GET | /templates/${id} | Action: show |
| GET | /templates/${id}/edit | Action: edit |
| PUT | /templates/${id} | Action: update |
| PATCH | /templates/${id} | Action: patch |
| DELETE | /templates/${id} | Action: delete |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment