lib/roda/plugins/public.rb in roda-3.82.0 vs lib/roda/plugins/public.rb in roda-3.83.0
- old
+ new
@@ -29,10 +29,10 @@
# # Use /path/to/app/static as location of files
# opts[:root] = '/path/to/app'
# plugin :public, root: 'static'
#
# # Assuming public is the location of files
- # r.route do
+ # route do
# # Make GET /images/foo.png look for public/images/foo.png
# r.public
#
# # Make GET /static/images/foo.png look for public/images/foo.png
# r.on(:static) do