module Roda::RodaPlugins::Unpoly

The unpoly plugin provides the necessary sugar to make Unpoly work seamlessly with Roda.

Example

plugin :unpoly

route do |r|
  if r.up?
    "Unpoly request! :)"
  else
    "Not an Unpoly request :("
  end
end