Module: Spreadhead::Render
- Defined in:
- lib/spreadhead/render.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
-
.included(controller) ⇒ Object
:nodoc:.
Class Method Details
.included(controller) ⇒ Object
:nodoc:
7 8 9 10 11 12 13 |
# File 'lib/spreadhead/render.rb', line 7 def self.included(controller) # :nodoc: controller.send(:include, InstanceMethods) controller.class_eval do helper_method :spreadhead hide_action :spreadhead end end |