-
Notifications
You must be signed in to change notification settings - Fork 19
Backend Pattern Controller
Ferris Tseng edited this page Dec 13, 2019
·
2 revisions
Controllers provide an interface between the view and the model. They should include response-related logic, including flash messages and redirects.
Any non-response-related logic should go in the model. This allows for more easily testing code outside of the context of a request.
app/controllers
If any?
Pattern | Description |
---|---|
Test - Controller | Tests for controllers |
Form | Handles complex validation |