diff --git a/app/views/events/_form.html.haml b/app/views/events/_form.html.haml index 0a65ba46..e39c4982 100644 --- a/app/views/events/_form.html.haml +++ b/app/views/events/_form.html.haml @@ -85,7 +85,7 @@ t(rule, scope: 'activerecord.attributes.event.rule_values') .actions - = f.button formaction: :preview do + = f.button formaction: url_for(action: @event.new_record? ? :preview_create : :preview) do %em.fa.fa-eye = t '.visualise'