examples/app2/main.rb in sinatra-exstatic-assets-2.0.1 vs examples/app2/main.rb in sinatra-exstatic-assets-2.0.3
- old
+ new
@@ -3,9 +3,13 @@
module Example
class App2 < Sinatra::Base
register Sinatra::Exstatic
+ configure do
+ set :public_folder, "public"
+ end
+
get "/" do
erb :index
end
end
end
\ No newline at end of file