Skip to content

Commit 76b7484

Browse files
author
mgiagnoni
committed
Value ('green') is used in place of key ('color') in action declaration.
1 parent 680e5d8 commit 76b7484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ method becomes the arguments on the resulting controller. This same interface
430430
is used when embedding controllers into templates (see :ref:`templating-embedding-controller`).
431431
The target controller method should look something like the following::
432432

433-
public function fancyAction($name, $green)
433+
public function fancyAction($name, $color)
434434
{
435435
// ... create and return a Response object
436436
}

0 commit comments

Comments
 (0)