Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ So how can you make ``blog_list`` once again match when the user visits
class BlogController extends Controller
{
/**
* @Route("/blog/{page}", name="blog_list", requirements={"page": "\d+"})
* @Route("/blog/{page}", name="blog_list", defaults={"page": 1}, requirements={"page": "\d+"})
*/
public function listAction($page = 1)
{
Expand Down