class BrowseController < ApplicationController
- before_filter :authorize_web
layout 'site'
+ before_filter :authorize_web
+ before_filter { |c| c.check_database_availability(true) }
+
def start
- @nodes = Node.find(:all, :order => "timestamp DESC", :limit=> 20)
end
+
def index
@nodes = Node.find(:all, :order => "timestamp DESC", :limit=> 20)
end