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