class Hanami::Routing::Resources
Set of RESTful resources routes Implementation of Hanami::Router#resources
@since 0.1.0
@api private
Public Instance Methods
wildcard_param(route_param = nil)
click to toggle source
Return wildcard param between separators
@api private @since 0.4.0
# File lib/hanami/routing/resources.rb, line 43 def wildcard_param(route_param = nil) "/:#{ Hanami::Utils::String.singularize(route_param) }_id/" end