Sha256: 7d293f628938a3a9dcb15e176564302480e85cc629d77a9ef891dc0cd9171a75
Contents?: true
Size: 360 Bytes
Versions: 13
Compression:
Stored size: 360 Bytes
Contents
module Alchemy module Admin class LanguagesController < ResourcesController def new @language = Language.new @language.page_layout = configured_page_layout || @language.page_layout end private def configured_page_layout Config.get(:default_language).try('[]', 'page_layout') end end end end
Version data entries
13 entries across 13 versions & 2 rubygems