Hi All,
How do i get Module and Action name of a particular page.
When i tried using $this->getContext()->getModuleName(); to get module
name the output id "dmFront"
and for Action $this->getContext()->getActionName(); and the output
is "page". but they are not correct.
Actually my requirement is Creating an SSL Redirect filter for some
specific pages
i have gone through the below link to accomplish it.
http://blog.tigregroup.com/programming/creating-an-ssl-redirect-filter-in-symfony/
I have added code in app.yml file as mentioned in the above blog
secure:
main: // module name
actions:
[myDashboard,accountSignIn,registration] // actions
but for each and every page i am getting module name is "dmFront "
and Action is "page" so the redirection is not working.
Can some please help to solve this.