[Opda-develop] OPDA/app/controllers channels_controller.rb, 1.8, 1.9
Brought to you by:
digitalpodcast
|
From: Alex N. <dig...@us...> - 2006-07-16 04:14:00
|
Update of /cvsroot/opda/OPDA/app/controllers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18171/app/controllers Modified Files: channels_controller.rb Log Message: Added default image for podcast to views Fixed layout to default for channels/index mod to css to try new color scheme Index: channels_controller.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/controllers/channels_controller.rb,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** channels_controller.rb 11 Jul 2006 06:49:24 -0000 1.8 --- channels_controller.rb 16 Jul 2006 04:13:57 -0000 1.9 *************** *** 2,9 **** def index ! @newchannels=Channel.find(:all, :order => 'created_at DESC', :limit=>'15') @featuredchannels=Channel.find(:all, :order => 'RAND()', :limit=>'10') @tags=Tag.find(:all, :order => 'created_at DESC',:limit =>'40') ! render(:layout => 'layouts/nosidebar') end --- 2,9 ---- def index ! @newchannels=Channel.find(:all, :order => 'created_at DESC', :limit=>'10') @featuredchannels=Channel.find(:all, :order => 'RAND()', :limit=>'10') @tags=Tag.find(:all, :order => 'created_at DESC',:limit =>'40') ! end |