Other methods
redirectTo
Description
Stop the rendering of the current page and redirect the user to another Locomotive page. This page is specified by its handle.
Usage
redirectTo(<page handle>, <locale>);
Note: the locale argument is optional.
Example
{% action 'Basic redirection' %}
if (params.confirmed)
redirectTo('home');
{% endaction %}
Updated less than a minute ago