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

Double // in url in URI Routing example (Using Named Routes) #7466

Merged
merged 2 commits into from
Apr 29, 2023
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
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');