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
69 def public
70   public_serve_with(roda_class.opts[:public_server])
71 end