module Spree::Core::Permalinks

Public Instance Methods

find_by_param(value, *args) click to toggle source
# File lib/spree/core/permalinks.rb, line 20
def find_by_param(value, *args)
  send("find_by_#{permalink_field}", value, *args)
end
find_by_param!(value, *args) click to toggle source
# File lib/spree/core/permalinks.rb, line 24
def find_by_param!(value, *args)
  send("find_by_#{permalink_field}!", value, *args)
end