1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/lib/sinatra.rb
Simon Rozet 3ef8eedef2 Deprecate use_in_file_templates!
Use enable :inline_templates instead
2009-12-23 04:40:43 +01:00

7 lines
167 B
Ruby

libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require 'sinatra/base'
require 'sinatra/main'
enable :inline_templates