root/lib/sidebar_helper.rb

Revision 10, 185 bytes (checked in by falcon, 16 years ago)

Final styling tweaks, ordering, misc cleanup.

Line 
1 module SidebarHelper
2          def populate_sidebar(category)
3                @galleries = Gallery.find(:all, :conditions => ["sType = ?", category], :order => "iOrder")
4                @sidebar = category
5          end
6  end
Note: See TracBrowser for help on using the browser.