You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mat Ryer edited this page Jul 25, 2013
·
1 revision
Often in the RESTful world, you want to map controllers as nested resources of other controllers. Goweb allows you to do this using the RestfulController interface, so you just have to implement the Path() string method on your controller.
For example, if you had books that belonged to people you would want the PeopleController mapped to /people, and the BooksController mapped to /people/1/books.