I've been playing with a framework only install of SS3 and am putting together my first web app.
I'm having a bit of a problem setting the routes to my make controller the root one, in SS3.1-beta3.
The following routes.yml is working fine:
--- Name: customroutes After: framework/routes#coreroutes --- Director: rules: 'wishes//$Action/$ID': 'WishController'
mydomain.com/wishes displays my index action.
mydomain.com/wishes/view/8 views an item using my view action.
However, I'd like to remove the "/wishes" section from the URL, so that mydomain.com/ and mydomain.com/view/8 will work the same way.
So I tried updating my routes.yml to the following:
--- Name: customroutes After: framework/routes#coreroutes --- Director: rules: '': 'WishController' '//$Action/$ID': 'WishController'
But while mydomain.com/ now displays my index action fine,
mydomain.com/view/8 just says: "No URL rule was matched".
Can someone please advice what the routes should be to achieve this?