lib/genevalidatorapp/routes.rb in genevalidatorapp-1.5.4 vs lib/genevalidatorapp/routes.rb in genevalidatorapp-2.0.0

- old
+ new

@@ -28,13 +28,13 @@ # We don't want Sinatra do setup any loggers for us. We will use our own. set :logging, nil # This is the app root... - set :root, lambda { GeneValidatorApp.root } + set :root, -> { GeneValidatorApp.root } # This is the full path to the public folder... - set :public_folder, lambda { GeneValidatorApp.public_dir } + set :public_folder, -> { GeneValidatorApp.public_dir } end # Set up global variables for the templates... before '/' do @default_db = Database.default_db