]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Hide diary entries and comments made by deleted users.
[rails.git] / app / controllers / browse_controller.rb
index 3ecec6348a35363ea9ba58a9ea2749f48bed0420..f3a04519cbd362b5f8133a1c7c079d7ef9dda7ff 100644 (file)
@@ -1,7 +1,12 @@
 class BrowseController < ApplicationController
-  before_filter :authorize_web  
   layout 'site'
 
+  before_filter :authorize_web  
+  before_filter { |c| c.check_database_availability(true) }
+
+  def start 
+  end
+  
   def index
     @nodes = Node.find(:all, :order => "timestamp DESC", :limit=> 20)  
   end