Module: CurationConcerns::User
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/concerns/curation_concerns/user.rb
Instance Method Summary collapse
-
#to_param ⇒ Object
Redefine this for more intuitive keys in Redis.
Instance Method Details
#to_param ⇒ Object
Redefine this for more intuitive keys in Redis
8 9 10 11 |
# File 'app/models/concerns/curation_concerns/user.rb', line 8 def to_param # HACK: because rails doesn't like periods in urls. user_key.gsub(/\./, '-dot-') end |