Skip to content

Commit

Permalink
Update routing.rst (es, fr, ja, pt)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell committed Jun 14, 2024
1 parent 91bc14a commit b0f61ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions es/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ subdominio::

// Esta ruta sólo coincide en http://*.example.com
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('*.example.com');
});
Expand All @@ -863,7 +863,7 @@ generada. Sin embargo, si utilizas un comodín, tendrás que indicar el parámet

// Si tienes esta ruta
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('images.example.com');

Expand Down
4 changes: 2 additions & 2 deletions fr/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ n'importe quelle sous-domaine::

// Cette route matchera sur tous les sous-domaines http://*.example.com
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('*.example.com');
});
Expand All @@ -899,7 +899,7 @@ paramètre lors de la génération d'URL::

// Si vous avez cette route
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('images.example.com');

Expand Down
4 changes: 2 additions & 2 deletions ja/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ SEO に親和性があるルーティング

// このルートは http://*.example.com のみマッチします。
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('*.example.com');
});
Expand All @@ -792,7 +792,7 @@ SEO に親和性があるルーティング

// このルートを持つ場合、
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('images.example.com');

Expand Down
4 changes: 2 additions & 2 deletions pt/development/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ pode usar o curinga ``*.`` para corresponder a qualquer subdomínio::

// Esta rota corresponde apenas a http://*.example.com
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('*.example.com');
});
Expand All @@ -710,7 +710,7 @@ curinga, precisará fornecer o parâmetro ``_host`` ao gerar URLs::

// Se você tem esta rota
$routes->connect(
'/images/old-log.png',
'/images/old-logo.png',
['controller' => 'Images', 'action' => 'oldLogo']
)->setHost('images.example.com');

Expand Down

0 comments on commit b0f61ad

Please sign in to comment.