diff --git a/app/views/events/_form.html.haml b/app/views/events/_form.html.haml index 0a65ba46f624a90cb625499924e3eb2632f7b290..e39c498290018f1bb6d7ebbc04f880898036c30e 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'