Very simple question that makes me mad.
I write in main file for routing app/config/routing.yml
sylius_user_registration:
path: /register
defaults: { _controller: MyBundle:Registration:register }
methods: [GET, POST]
And my controller
class RegistrationController extends Controller
{
public function registerAction(Request $request)
{
var_dump(111);die;
}
}
And when I visit myshop.loc/app_dev.php/register
, I see sylius register page. There is a simple customization. What I make wrong?
P.s.
tried to clear cache
routing file is declared in
app/config/config.yml