app/forms/admin/tramway/page/page_form.rb in tramway-page-1.5 vs app/forms/admin/tramway/page/page_form.rb in tramway-page-1.5.1
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
class Admin::Tramway::Page::PageForm < ::Tramway::Core::ApplicationForm
- properties :title, :body, :slug, :view, :page_type
+ properties :title, :body, :slug, :view, :page_type, :view_state_event
def initialize(object)
super(object).tap do
form_properties title: :string,
page_type: {