Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
removing page caching, syncing the cache is proving to be more work t…
Browse files Browse the repository at this point in the history
…han it is work
  • Loading branch information
sroske committed Feb 29, 2012
1 parent 6a0ef77 commit 8cc227b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions app/controllers/application_controller.rb
@@ -1,5 +1,3 @@
class ApplicationController < ActionController::Base
protect_from_forgery
cache_sweeper :leap_sweeper

end
1 change: 0 additions & 1 deletion app/controllers/leaps_controller.rb
@@ -1,5 +1,4 @@
class LeapsController < ApplicationController
caches_action :index, :cache_path => Proc.new{ |c| "leaps/#{params[:page] || 1}" }

# GET /leaderboard
def leaderboard
Expand Down
12 changes: 0 additions & 12 deletions app/models/leap_sweeper.rb

This file was deleted.

0 comments on commit 8cc227b

Please sign in to comment.