Skip to content

Commit

Permalink
edit action_controller_overview #15
Browse files Browse the repository at this point in the history
  • Loading branch information
wicky-andrian committed Apr 24, 2020
1 parent b9c2e52 commit e013bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/action_controller_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Setelah membaca panduan ini, kamu akan mengetahui:
Apa yang dapat dilakukan controller?
--------------------------

Action Controller is the C in [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller). After the router has determined which controller to use for a request, the controller is responsible for making sense of the request, and producing the appropriate output. Luckily, Action Controller does most of the groundwork for you and uses smart conventions to make this as straightforward as possible.
Action Controller adalah the C in [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller). After the router has determined which controller to use for a request, the controller is responsible for making sense of the request, and producing the appropriate output. Luckily, Action Controller does most of the groundwork for you and uses smart conventions to make this as straightforward as possible.

For most conventional [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer) applications, the controller will receive the request (this is invisible to you as the developer), fetch or save data from a model and use a view to create HTML output. If your controller needs to do things a little differently, that's not a problem, this is just the most common way for a controller to work.

Expand Down

0 comments on commit e013bd2

Please sign in to comment.