Hi all,
I want a route of "/store/tickets/" to be routed to:
Controller: 'store' Action: 'index' Params: 'tickets'
I'm adding the route like this:
$Router->add(
        "/store/:name/",
        [
             'controller'   =>  'store'
            ,'action'       =>  'index'
            ,'params'       =>  'name'
        ]
    );And my StoreController looks like this:
<?php
class StoreController extends \Phalcon\Mvc\Controller{
    public function indexAction($name){
        echo $name;
    }
}I know I've misconfigured something, but I just can't seem to wrap my head around how to fix it. Any insight would be welcome.