]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Fixed 'raw' raises by converting them to the appropriate OSM::APIError type. Made...
[rails.git] / app / controllers / browse_controller.rb
index 465184f5032c59c1a697bf5a2a4d186a4410f1f6..6ace0817b01353a7f1f4a270354b9075c05e5e27 100644 (file)
@@ -2,7 +2,7 @@ class BrowseController < ApplicationController
   layout 'site'
 
   before_filter :authorize_web  
-  before_filter { |c| c.check_database_availability(true) }
+  before_filter { |c| c.check_database_readable(true) }
 
   def start 
   end