Class: LeftSideCell
- Inherits:
-
Cell::Rails
- Object
- Cell::Rails
- LeftSideCell
- Defined in:
- lib/left_side/cells/left_side_cell.rb
Instance Method Summary collapse
Instance Method Details
#base(args) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/left_side/cells/left_side_cell.rb', line 7 def base(args) left_side = LeftSide::Base.load if left_side.respond_to? args[:section] @sections = left_side.send args[:section] else render :nothing => true and return end append_view_path(File.dirname(__FILE__)) render end |