# File app/controllers/metarep_controller.rb, line 45 def check_tree_locations_table if TreeLocation.count == 0 expire_tree_cache flash[:notice] = "The metadata browser's search index had to be refreshed. Sorry about the wait!" redirect_to :action => 'browser' end end