Sha256: f4bfafdb8b7c09b5c0e828c31181d77b09751d90253809bb96006636ac56b561
Contents?: true
Size: 502 Bytes
Versions: 5
Compression:
Stored size: 502 Bytes
Contents
configure do root = File.expand_path(File.join(File.dirname(__FILE__), '..', 'app')) views = "#{root}/views" pub_dir = "#{root}/public" Castronaut.logger.debug "Sinatra Config - setting root path to #{root}" Castronaut.logger.debug "Sinatra Config - setting views path to #{views}" Castronaut.logger.debug "Sinatra Config - setting public path to #{pub_dir}" set_options :root => root, :views => views, :public => pub_dir, :logging => true end
Version data entries
5 entries across 5 versions & 1 rubygems