lib/tynn/static.rb in tynn-2.0.0.beta1 vs lib/tynn/static.rb in tynn-2.0.0.beta2
- old
+ new
@@ -1,6 +1,8 @@
# frozen_string_literal: true
+require "rack/static"
+
class Tynn
# Serves static files (javascript files, images, stylesheets, etc).
#
# By default, these files are served from the <tt>./public</tt> folder.
# A different location can be specified through the <tt>:root</tt> option.