This way changing it will be easier. Note we're changing the name of the HTML class to follow our naming conventions; the `edit_page` class wasn't used anywhere, so we don't need to change anything else.
10 lines
206 B
Ruby
10 lines
206 B
Ruby
class Admin::SiteCustomization::Pages::FormComponent < ApplicationComponent
|
|
include TranslatableFormHelper
|
|
include GlobalizeHelper
|
|
attr_reader :page
|
|
|
|
def initialize(page)
|
|
@page = page
|
|
end
|
|
end
|