diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/login.html.ep b/templates/login.html.ep index 4c5696d..8c9ad7d 100644 --- a/templates/login.html.ep +++ b/templates/login.html.ep @@ -77,7 +77,7 @@ %= form_for '/login' => (class => 'col s12', method => 'POST') => begin %= csrf_field % if (stash('redirect_to')) { - %= hidden_field 'redirect_to' => $redirect_to + %= hidden_field 'redirect_to' => stash('redirect_to') % } <div class="row"> <div class="input-field col s12"> |