Skip to content

Commit c32aee8

Browse files
committed
Merge branch '2.0'
2 parents 768d8e0 + a7d1502 commit c32aee8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

book/internals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ The value returned by the Controller is accessible via the
299299

300300
public function onKernelView(GetResponseForControllerResultEvent $event)
301301
{
302-
$val = $event->getReturnValue();
302+
$val = $event->getControllerResult();
303303
$response = new Response();
304304
// some how customize the Response from the return value
305305

book/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Finally, create the corresponding template:
466466
<input type="hidden" name="_target_path" value="/account" />
467467
#}
468468

469-
<input type="submit" name="login" />
469+
<button type="submit">login</button>
470470
</form>
471471

472472
.. code-block:: html+php
@@ -488,7 +488,7 @@ Finally, create the corresponding template:
488488
<input type="hidden" name="_target_path" value="/account" />
489489
-->
490490

491-
<input type="submit" name="login" />
491+
<button type="submit">login</button>
492492
</form>
493493

494494
.. tip::

0 commit comments

Comments
 (0)