![]() |
Solution: <a href="<?php echo base_url('home'); ?> " class="btn btn-lg btn-secondary">Services Home </a>
Despite using verb routes the names chosen for them could be referenced using this url helper call url helper is autoloaded from the beginning, no additional statements were needed in controllers no redirects had to be declared in routes for this to work. |
Messages In This Thread |
Route html button to home page, correct method - by mcrase2021 - 09-28-2021, 10:39 AM
RE: Route html button to home page, correct method - by mcrase2021 - 09-28-2021, 06:32 PM
RE: Route html button to home page, correct method - by InsiteFX - 09-29-2021, 03:45 AM
RE: Route html button to home page, correct method - by kilishan - 09-30-2021, 06:28 AM
|