Skip to content

Commit

Permalink
Merge pull request #7869 from joshv2/patch-3
Browse files Browse the repository at this point in the history
Update routing.rst
  • Loading branch information
ADmad committed Jun 14, 2024
2 parents fbd999c + 781b778 commit 91bc14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ the ``*.`` wildcard to match any subdomain::

// This route only matches on http://*.example.com
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('*.example.com');
});
Expand All @@ -851,7 +851,7 @@ parameter when generating URLs::

// If you have this route
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('images.example.com');

Expand Down

0 comments on commit 91bc14a

Please sign in to comment.