Skip to Content
0
Oct 30, 2015 at 06:45 AM

Can we handle route of a view even before that view is rendered?

27 Views

Hi,

I am having problem with rendering a view because the value needed for variables in the view is being sent through URL/route.

But the view's createContent is rendered even before the control is passed to view's controller (where handleRouteMatched function resides) which throws error.

Is there a way we can handle route even before createContent is called?

Regards,

Chirag