Module: PrefixedIds::ToParam

Extended by:
ActiveSupport::Concern
Defined in:
lib/prefixed_ids.rb

Instance Method Summary collapse

Instance Method Details

#to_paramObject


93
94
95
# File 'lib/prefixed_ids.rb', line 93

def to_param
  _prefix_id.encode(id)
end