Skip to content

Commit

Permalink
Removed bug - wrong eager_cache trigger method
Browse files Browse the repository at this point in the history
  • Loading branch information
alfanick committed Dec 30, 2008
1 parent d856299 commit 3b3257d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/channels.rb
Expand Up @@ -3,8 +3,8 @@ class Channels < Application

cache :index, :show, :new

eager_cache :new, :index
eager_cache :new, :show
eager_cache :create, :index
eager_cache :create, :show

def index(server, page = 1)
@channels = Channel.all(:server_host => server, :limit => 50, :offset => 50 * (page.to_i-1))
Expand Down

0 comments on commit 3b3257d

Please sign in to comment.