Hi,
I have a menu that loaded from main layout. in the menu I have to highlight the specific menu if users click on that menu. I detect it based on Controller name.
I have 2 menu that has different names ie Users Edit and Client Edit. Both actually share the same controller (ie: UserController) and same Domain.
I tried to create alias for that in UrlMappings such as : "/client/edit/"(controller:"user",action:"edit")
but on the main layout, it seems didn't recognized as "client" but as "user"
is there any nice way to solve this problem without duplicating controller ? can i inherit controller ? if so how to do that ...
thank you very much.