Module: Roda::RodaPlugins::TimestampPublic::RequestMethods
- Defined in:
- lib/roda/plugins/timestamp_public.rb
Instance Method Summary collapse
-
#timestamp_public ⇒ Object
Serve files from the public directory if the file exists, it includes the timestamp_public prefix segment followed by a integer segment for the timestamp, and this is a GET request.
Instance Method Details
#timestamp_public ⇒ Object
Serve files from the public directory if the file exists, it includes the timestamp_public prefix segment followed by a integer segment for the timestamp, and this is a GET request.
63 64 65 66 67 68 69 |
# File 'lib/roda/plugins/timestamp_public.rb', line 63 def if is_get? on roda_class.opts[:timestamp_public_prefix], Integer do |_| public end end end |