Fix database check in browse controller.
authorTom Hughes <tom@compton.nu>
Wed, 15 Apr 2009 09:05:29 +0000 (09:05 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 15 Apr 2009 09:05:29 +0000 (09:05 +0000)
app/controllers/browse_controller.rb

index f3a04519cbd362b5f8133a1c7c079d7ef9dda7ff..df48a209044b32891958adb1df72a65bf60bcf52 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