We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in application/Config/Routes.php $routes->add('blog-site', 'Home::blogAction',['as' => 'blog']);
if < a href="{base_url()}blog-site">foo< / a > then http://localhost:8888/ci4/public/blog-site <= public / blog-site if < a href="{base_url()}{route_to('blog')}">foo< / a > then http://localhost:8888/ci4/public//blog-site <= public // blog-site
The text was updated successfully, but these errors were encountered:
Are you using the latest code from the develop branch? I cannot recreate this. The following all work with a single slash created:
echo base_url().route_to('blog'); echo esc(base_url(route_to('blog'))); echo esc(base_url().route_to('blog'), 'attr'); echo esc(base_url(route_to('blog')), 'attr');
Sorry, something went wrong.
No branches or pull requests
in application/Config/Routes.php
$routes->add('blog-site', 'Home::blogAction',['as' => 'blog']);
if < a href="{base_url()}blog-site">foo< / a > then http://localhost:8888/ci4/public/blog-site <= public / blog-site
if < a href="{base_url()}{route_to('blog')}">foo< / a > then http://localhost:8888/ci4/public//blog-site <= public // blog-site
The text was updated successfully, but these errors were encountered: