module Roda::RodaPlugins::MultiView::RequestMethods

  1. lib/roda/plugins/multi_view.rb


Public Instance

  1. multi_view

Public Instance methods


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