Sha256: 5989e785ee290c9624a64bf62e172baf0281b15533f93268ed1fc0feb592a648
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 Bytes
Contents
module Templates module ActionController extend ActiveSupport::Concern included do class_attribute :templates_list, :templates_options end module ClassMethods def templates list, options = {} self.templates_list = list self.templates_options = { :partials => [], :layout => false }.merge(options) end end end end class ActionController::Base include Templates::ActionController end
Version data entries
4 entries across 4 versions & 1 rubygems