Sha256: a16d4d9f8d42418327e818611e8a781c906dfa25e94a441461529fd8640da892
Contents?: true
Size: 300 Bytes
Versions: 6
Compression:
Stored size: 300 Bytes
Contents
module SectionsRails require 'action_view' require "sections_rails/section" require "sections_rails/railtie" #if defined?(Rails) def section name, options = {}, &block SectionsRails::Section.new(name, self, options).render &block end end ActionView::Base.send :include, SectionsRails
Version data entries
6 entries across 6 versions & 1 rubygems