app/forms/tramway/page/page_form.rb in tramway-page-1.3 vs app/forms/tramway/page/page_form.rb in tramway-page-1.3.1
- old
+ new
@@ -1,12 +1,14 @@
+# frozen_string_literal: true
+
class Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm
properties :title, :body, :slug, :view
def initialize(object)
super(object).tap do
form_properties title: :string,
- body: :ckeditor,
- slug: :string,
- view: :string
+ body: :ckeditor,
+ slug: :string,
+ view: :string
end
end
end