Sha256: da7dfbd01bb7bef30e020882e2dbcc116b950afb5bcebe74a82d5247609891ae
Contents?: true
Size: 262 Bytes
Versions: 20
Compression:
Stored size: 262 Bytes
Contents
module Trestle module Controller module Layout extend ActiveSupport::Concern included do layout :choose_layout end protected def choose_layout request.xhr? ? false : "trestle/admin" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems