Sha256: af7d7da7cf4fe94e70368a13445264c59cafe6d7ce239b45088aae0d81f02dfd
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 Bytes
Contents
module Caboodle class App < Sinatra::Base set :app_file, __FILE__ set :logging, true set :root, File.expand_path(".") set :views, Proc.new { File.join(root, "views") } set :public, Proc.new { File.join(root, "public") } set :run, false helpers Sinatra::CaboodleHelpers configure do Caboodle::Kit.configure_site File.expand_path(File.join(Caboodle::App.root,"config","site.yml")) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
caboodle-0.2.22 | lib/caboodle/app.rb |
caboodle-0.2.21 | lib/caboodle/app.rb |
caboodle-0.2.20 | lib/caboodle/app.rb |
caboodle-0.2.19 | lib/caboodle/app.rb |
caboodle-0.2.18 | lib/caboodle/app.rb |