Skip to content

Commit 483674d

Browse files
authored
Merge pull request #7466 from gremirarunico/develop
Double // in url in URI Routing example (Using Named Routes)
2 parents 041cb86 + 1c28935 commit 483674d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

user_guide_src/source/incoming/routing/030.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
<!-- Generate the URI to link to user ID 15, gallery 12: -->
99
<a href="<?= url_to('user_gallery', 15, 12) ?>">View Gallery</a>
10-
<!-- Result: 'http://example.com//users/15/gallery/12' -->
10+
<!-- Result: 'http://example.com/users/15/gallery/12' -->
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

3-
// example.com routes to app/Controllers/Welcome.php
4-
$routes->setDefaultController('Welcome');
3+
// example.com routes to app/Controllers/Home.php
4+
$routes->setDefaultController('Home');

0 commit comments

Comments
 (0)