class Stall::Routes::ProductExistsConstraint
Public Instance Methods
matches?(request)
click to toggle source
# File lib/stall/routes.rb, line 102 def matches?(request) Product.exists?(slug: request.params[:id]) end