Module: Pagy::CalendarExtra::UrlHelperAddOn
Overview
Additions for the Frontend module
Instance Method Summary collapse
-
#pagy_calendar_url_at(calendar, time, **opts) ⇒ Object
Return the url for the calendar page at time.
Instance Method Details
#pagy_calendar_url_at(calendar, time, **opts) ⇒ Object
Return the url for the calendar page at time
46 47 48 |
# File 'lib/pagy/extras/calendar.rb', line 46 def pagy_calendar_url_at(calendar, time, **opts) pagy_url_for(calendar.send(:calendar_at, time, **opts), 1, **opts) end |