I want my URLS to be
book/<bookid>/actionname/?variables=1
BookController.php
public actionCreate()
public actionView()
So a valid URL would be:
book/123abc/view/?any=1&any=2
This should be routed to BookController::actionView()
I have in URLManager:
‘book/<book_slug:\w+>/<action:\w+>/’, ‘book/<action>’
What is the correct way to do this?