root/lib/sidebar_helper.rb~
@
10
Revision 10, 185 bytes (checked in by falcon, 17 years ago) |
---|
Rev | Line | |
---|---|---|
[5] | 1 | module SidebarHelper |
2 | def populate_sidebar(category) | |
[10] | 3 | @galleries = Gallery.find(:all, :conditions => ["sType = ?", category], :order => "iOrder") |
4 | @sidebar = category | |
[5] | 5 | end |
6 | end |
Note: See TracBrowser
for help on using the browser.