Module: Xebec::ControllerSupport
- Defined in:
- lib/xebec/controller_support.rb
Overview
Include this module in Rails controllers if you want to declare navigation bars in your controllers instead of or in addition to in your views.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 |
# File 'lib/xebec/controller_support.rb', line 10 def self.included(base) base.extend Xebec::ControllerSupport::ClassMethods base.send :include, Xebec::ControllerSupport::InstanceMethods base.send :include, Xebec::HasNavBars end |