Skip to content

Commit

Permalink
Merge pull request #7466 from gremirarunico/develop
Browse files Browse the repository at this point in the history
Double // in url in URI Routing example (Using Named Routes)
  • Loading branch information
kenjis authored Apr 29, 2023
2 parents 041cb86 + 1c28935 commit 483674d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion user_guide_src/source/incoming/routing/030.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

<!-- Generate the URI to link to user ID 15, gallery 12: -->
<a href="<?= url_to('user_gallery', 15, 12) ?>">View Gallery</a>
<!-- Result: 'http://example.com//users/15/gallery/12' -->
<!-- Result: 'http://example.com/users/15/gallery/12' -->
4 changes: 2 additions & 2 deletions user_guide_src/source/incoming/routing/047.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

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

0 comments on commit 483674d

Please sign in to comment.