Permalink
Browse files

un-namespace the sweeper

  • Loading branch information...
1 parent 34ac1f9 commit 4d60aef83b8a9af1bf055790f0d7c165ade8503a @phoet committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/sweepers/index_sweeper.rb
View
2 app/sweepers/index_sweeper.rb
@@ -17,6 +17,6 @@ def after_destroy(entitiy)
def expire_index_cache
Rails.logger.info "invalidating home#index cache"
- expire_action controller: :home, action: :index
+ expire_action controller: "/home", action: "index"
end
end

0 comments on commit 4d60aef

Please sign in to comment.