aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-11-28 21:15:52 +0900
committerGitHub <noreply@github.com>2017-11-28 21:15:52 +0900
commitf2b6406066888aaa10aba6c3cb95c2eb6dda760e (patch)
treeef00288b46158e129694022a531b12c9800f429e
parent349f00beaa16f6b5eec3de7d3be8e9b72313a92f (diff)
parentce180231d954785b8c91ba4f9ba3fc12ff2e0de3 (diff)
downloadrails-f2b6406066888aaa10aba6c3cb95c2eb6dda760e.tar.gz
rails-f2b6406066888aaa10aba6c3cb95c2eb6dda760e.tar.bz2
rails-f2b6406066888aaa10aba6c3cb95c2eb6dda760e.zip
Merge pull request #31255 from dixitp012/update_action_controller_guide
[ci skip] Update MVC wiki link
-rw-r--r--guides/source/action_controller_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 28f7246197..6ecfb57db3 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -21,7 +21,7 @@ After reading this guide, you will know:
What Does a Controller Do?
--------------------------
-Action Controller is the C in MVC. 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 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.
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.