Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update routing.rst (es, fr, ja, pt) #7870

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
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
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