Sha256: 7934d3b7444d449c915001aa27cd859537e05e255f623909fd9b704e37bf893e
Contents?: true
Size: 362 Bytes
Versions: 231
Compression:
Stored size: 362 Bytes
Contents
class Jets::Controller module Layout extend ActiveSupport::Concern included do class_attribute :layout_name def self.layout(name=nil) if !name.nil? name = name.to_s if name.is_a?(Symbol) self.layout_name = name else self.layout_name end end end # included end # Layout end
Version data entries
231 entries across 231 versions & 4 rubygems