Permalink
Browse files

/refresh now pings delta instead of clearing cache and requerying

  • Loading branch information...
1 parent 6801c0c commit a4daa01c4676988af5fbedfede6aa3b07f8e787e @seangaffney seangaffney committed Jun 10, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 app.rb
View
4 app.rb
@@ -68,9 +68,7 @@ class NerdJersey < Sinatra::Base
end
get '/refresh' do
- settings.cache.flush_all
- Article.all
- Page.all
+ DocumentStore.delta
redirect '/'
end

0 comments on commit a4daa01

Please sign in to comment.