File tree Expand file tree Collapse file tree
user_guide_src/source/incoming Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ the controller that should be used::
7070Change the Placeholder Used
7171---------------------------
7272
73- By default, the ``segment `` placeholder is used when a resource ID is needed. You can change this by passing
73+ By default, the ``(: segment) `` placeholder is used when a resource ID is needed. You can change this by passing
7474in the ``placeholder `` option with the new string to use::
7575
7676 $routes->resource('photos', ['placeholder' => '(:num)']);
@@ -175,7 +175,7 @@ the controller that should be used::
175175Change the Placeholder Used
176176---------------------------
177177
178- By default, the ``segment `` placeholder is used when a resource ID is needed. You can change this by passing
178+ By default, the ``(: segment) `` placeholder is used when a resource ID is needed. You can change this by passing
179179in the ``placeholder `` option with the new string to use::
180180
181181 $routes->presenter('photos', ['placeholder' => '(:num)']);
You can’t perform that action at this time.
0 commit comments