This commit is contained in:
Daniel Friesel 2019-03-10 19:34:10 +01:00
parent 5970a5a350
commit 558585895f

View file

@ -77,7 +77,7 @@
%= form_for '/login' => (class => 'col s12', method => 'POST') => begin %= form_for '/login' => (class => 'col s12', method => 'POST') => begin
%= csrf_field %= csrf_field
% if (stash('redirect_to')) { % if (stash('redirect_to')) {
%= hidden_field 'redirect_to' => $redirect_to %= hidden_field 'redirect_to' => stash('redirect_to')
% } % }
<div class="row"> <div class="row">
<div class="input-field col s12"> <div class="input-field col s12">