module Roda::RodaPlugins::Public::RequestMethods

  1. lib/roda/plugins/public.rb

Methods

Public Instance

  1. public

Public Instance methods

public()

Serve files from the public directory if the file exists and this is a GET request.

[show source]
   # File lib/roda/plugins/public.rb
94 def public
95   public_serve_with(roda_class.opts[:public_server])
96 end