set root
This commit is contained in:
parent
7c18494a38
commit
7101a76157
@ -10,6 +10,8 @@ class AVMExample < Sinatra::Base
|
|||||||
:path => '/',
|
:path => '/',
|
||||||
:expire_after => 60
|
:expire_after => 60
|
||||||
|
|
||||||
|
set :root, File.dirname(__FILE__)
|
||||||
|
|
||||||
register Sinatra::Flash
|
register Sinatra::Flash
|
||||||
helpers Sinatra::ContentFor
|
helpers Sinatra::ContentFor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user