Skip to content

Commit

Permalink
Fixes cache that won't sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 25, 2013
1 parent 6a04484 commit 6d2d35d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/admin/notes_controller.rb
Expand Up @@ -2,7 +2,8 @@ module Admin; end

class Admin::NotesController < Admin::ContentController
layout "administration"

cache_sweeper :blog_sweeper

def index; redirect_to :action => 'new' ; end
def new; new_or_edit; end
def edit; new_or_edit; end
Expand Down

0 comments on commit 6d2d35d

Please sign in to comment.