Welcome Guest, Not a member yet? Register   Sign In
Routes From Controller
#1
Wink 

Can you image create slug in a controller,

Just adding:
PHP Code:
/**
* @route:thisismyslug
*/
function slug()
{
  echo 
"url thisismyslug";

or
PHP Code:
/**
* @route:thisismyslug/(:num)
*/
function slug2$param )
{
  echo 
"url thisismyslug ".param;


please check my dynamic routes repository
Reply
#2

I can understand the desire for this. Are you open for suggestions?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB