From 719075617072d42204bb55dc1b801aa568dca939 Mon Sep 17 00:00:00 2001 From: Tom Grandy Date: Fri, 28 Apr 2017 10:44:16 -0400 Subject: [PATCH] Update page_creation.rst to correct hidden colon 86-87: Italicized word covers top of colon Old: The method below the route - ``numberAction()`` - is called the *controller*: this is a function where *you* New: The method below the route - ``numberAction()`` - is called the *controller*. This is a function where *you* Instead of having the top of the colon bleed into the italicized word "controller" it makes visual sense to have the sentence end with a period and the next "This is a function..." begin with a capital letter since it can stand on its own as a sentence. --- page_creation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page_creation.rst b/page_creation.rst index d865f3def10..63bc6ae14a3 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -84,7 +84,7 @@ to creating a page? in its own section, including how to make *variable* URLs; #. *Create a controller*: The method below the route - ``numberAction()`` - is called - the *controller*: this is a function where *you* build the page and ultimately + the *controller*. This is a function where *you* build the page and ultimately return a ``Response`` object. You'll learn more about :doc:`controllers ` in their own section, including how to return JSON responses.