X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ca38904dc11fa7329e186bd675e15e3c401ca86..b0f0a2627d66386272c143addb3389e7ad587396:/app/controllers/browse_controller.rb?ds=inline diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index 3ecec6348..f3a04519c 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -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