Module: Qadmin::Templates

Defined in:
lib/qadmin/templates.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/qadmin/templates.rb', line 4

def self.included(klass)
  if klass.respond_to?(:helper_method) 
    klass.module_eval do
      helper_method :template_for_section, :partial_for_section
    end
  end
end