perform action when navigation item is clicked
When the dashboard link is clicked on the sidebar, I want to clear a value from the session. How can I tap into that?
2 Replies
Not exactly what you want, but probably close enough: Extend the Dashboard page, register your own class and overwrite the
mount()
method. Then you can clear the session when that page is loaded.ok, i'll try that, thx!