Skip to content

dragontly/permalink_mongo_mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to use

#use in mongo mapper #in Gemfile gem 'permalink_mongo_mapper'

#in model class

include Permalink
key :name, String
has_permalink :name

#get it

<%= link_to @category.name,category_path(@category.permalink) %>

About

Make permalink use with mongo_mapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages