module Roda::RodaPlugins::MultiView::RequestMethods

  1. lib/roda/plugins/multi_view.rb

Methods

Public Instance

  1. multi_view

Public Instance methods

multi_view(arg)

Pass the argument to get, and assume if the matchers match that there is one capture, and call view with that capture.

[show source]
   # File lib/roda/plugins/multi_view.rb
73 def multi_view(arg)
74   get(arg) do |page|
75     scope.view(page)
76   end
77 end