Sha256: 11ec3ee491ff0f70986ae4f775670e6e7943a00a2de3e4ccba4b6f53533c63f9
Contents?: true
Size: 397 Bytes
Versions: 14
Compression:
Stored size: 397 Bytes
Contents
module Alchemy module Admin class LanguagesController < Alchemy::Admin::ResourcesController def new @language = Alchemy::Language.new @language.page_layout = (configured_page_layout or @language.page_layout) end protected def configured_page_layout Alchemy::Config.get(:default_language).try('[]', 'page_layout') end end end end
Version data entries
14 entries across 14 versions & 1 rubygems