From 57ad1432a53997457a23b727968f58488e597c30 Mon Sep 17 00:00:00 2001 From: Artem Chernikov Date: Wed, 30 Apr 2014 16:10:49 +0200 Subject: [PATCH] Update form to hot new path --- app/views/admin/eventtypes/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/eventtypes/index.html.haml b/app/views/admin/eventtypes/index.html.haml index dfac0b33..85015d41 100644 --- a/app/views/admin/eventtypes/index.html.haml +++ b/app/views/admin/eventtypes/index.html.haml @@ -2,6 +2,6 @@ .col-md-3 = render 'admin/conference/sidebar' .col-md-9 - = semantic_form_for(@conference, :url => admin_conference_eventtype_path(@conference.short_title, @conference.event_types)) do |f| + = semantic_form_for(@conference, url: admin_conference_eventtypes_path) do |f| = dynamic_association :event_types, "Event Types", f = f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}