module Roda::RodaPlugins::MultiPublic::RequestMethods
Public Instance Methods
Source
# File lib/roda/plugins/multi_public.rb, line 86 def multi_public(key) public_serve_with(roda_class.opts[:multi_public_servers].fetch(key)) end
Serve files from the directory corresponding to the given key if the file exists and this is a GET request.