This will automatically register the following routes for the students
resource:
HTTP Method | URI | Action | Route Name |
---|---|---|---|
GET | /students | index | students.index |
GET | /students/create | create | students.create |
POST | /students | store | students.store |
GET | /students/{student} | show | students.show |
GET | /students/{student}/edit | edit | students.edit |
PUT/PATCH | /students/{student} | update | students.update |
DELETE | /students/{student} | destroy | students.destroy |