app/forms/admin/tramway/event/place_form.rb in tramway-event-1.12.9.1 vs app/forms/admin/tramway/event/place_form.rb in tramway-event-2.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class Admin::Tramway::Event::PlaceForm < Tramway::Core::ApplicationForm
+class Admin::Tramway::Event::PlaceForm < Tramway::ApplicationForm
properties :title, :description, :coordinates, :photo, :city
def initialize(object)
super(object).tap do
form_properties title: :string,