[#4604] Add buttons for load and clear the caches

This commit is contained in:
Eric Davis
2010-10-13 12:08:06 -07:00
parent 7824eadc94
commit e4f1a623f1
5 changed files with 52 additions and 2 deletions

View File

@@ -12,3 +12,7 @@ en:
text_no_cache_run: "no cache run found"
text_last_caching_run: "Last caching run at: "
text_last_cache_clearing_run: "Last cache clearing run at: "
text_load_missing_caches: "Load Missing Caches"
text_clear_and_load_all_caches: "Clear and Load All Caches"
text_caches_loaded_successfully: "Caches loaded successfully"

View File

@@ -1,3 +1,4 @@
ActionController::Routing::Routes.draw do |map|
map.resources :rates
map.connect 'rate_caches', :conditions => {:method => :put}, :controller => 'rate_caches', :action => 'update'
end