Add background for web

This commit is contained in:
Dzmitry Plashchynski
2015-03-08 22:25:55 +02:00
parent ba57834f68
commit b95c480a8f
5 changed files with 38 additions and 10 deletions

View File

@@ -3,9 +3,6 @@ require 'sinatra/base'
module Crono
class Web < Sinatra::Base
def app
Sinatra::Application
end
set :root, File.expand_path(File.dirname(__FILE__) + "/../../web")
set :public_folder, Proc.new { "#{root}/assets" }
set :views, Proc.new { "#{root}/views" }