Welcome Guest, Not a member yet? Register   Sign In
Static Route / predefined variables
#1

I am trying to setup a route that sets a fixed parameter

PHP Code:
$routes->get('/''Pages::showme/first');
$routes->get('pages/showme/(:alphanum)''Pages::showme/$1'); 

hitting "/" results in

Code:
Controller method is not found: showme\first

But "/pages/showme/first" works as expected

I have read the route manual but have not found a way to do it, any help is greatly appreciated
Reply


Messages In This Thread
Static Route / predefined variables - by marios88 - 02-06-2019, 01:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB