Remove full_page from the Page TEMPLATE_OPTIONS (#5981)

This commit is contained in:
Anna Buianova 2020-02-11 01:04:59 +03:00 committed by GitHub
parent 0eecdf616c
commit 611323f508
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
class Page < ApplicationRecord
TEMPLATE_OPTIONS = %w[contained full_within_layout full_page].freeze
TEMPLATE_OPTIONS = %w[contained full_within_layout].freeze
validates :title, presence: true
validates :description, presence: true