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