Sha256: 57ec584bc6b30c0d2910101dfcf2e46b9f0ad688637ca77028ae440c1d95d02e
Contents?: true
Size: 895 Bytes
Versions: 145
Compression:
Stored size: 895 Bytes
Contents
#{{{ MODULES AND HELPERS register Sinatra::RbbtRESTMain register Sinatra::RbbtRESTEntity register Sinatra::RbbtRESTFileServer # Remove to prevent serving files register Sinatra::RbbtRESTKnowledgeBase helpers Sinatra::RbbtMiscHelpers #{{{ SESSIONS use Rack::Session::Cookie, :key => 'rack.session', :path => '/', :expire_after => 2592000, :secret => "#{self.to_s} secret!!" #{{{ DIRECTORIES global_var = Rbbt.var.sinatra local_var = Rbbt.var.sinatra.app[$class_name] set :cache_dir , local_var.cache set :persist_dir , local_var.cache.persistence set :persist_options , {:persist => true, :persist_dir => :persist_dir} set :file_dir , local_var.files set :permalink_dir , local_var.permalink set :favourites_dir , local_var.favourites set :favourite_lists_dir , local_var.favourite_lists set :favourite_maps_dir , local_var.favourite_maps
Version data entries
145 entries across 145 versions & 1 rubygems