Sha256: de40cf34802b99160f4ffc6e91d41ef39cc7108b13b1b29678a69509b3a41994
Contents?: true
Size: 514 Bytes
Versions: 1
Compression:
Stored size: 514 Bytes
Contents
module Locomotive module API module Forms class SiteForm < BaseForm attrs :name, :handle, :robots_txt, :locales, :domains, :timezone, :picture, :cache_enabled, :private_access, :password, :metafields_schema, :metafields attrs :seo_title, :meta_keywords, :meta_description, localized: true # Make sure locales and domains are in arrays. def locales [*@locales] end def domains [*@domains] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
locomotivecms-3.1.0.rc1 | app/api/locomotive/api/forms/site_form.rb |