SupaRoute extension

Extension on String to provide convenient methods for generating URLs.

This extension provides the withId method to easily generate URLs with an ID parameter.

on

Methods

withId(num id) → String

Available on String, provided by the SupaRoute extension

Generates a URL with an ID parameter.