Topic slug from candidate title


(Keith John Hutchison) #1

In the ruby console environment is there a method where a candidate topic title can be passed in and the resultant slug that would be generated from that title passed back?


(RĂ©gis Hanol) #2
Slug.for("your title here")
=> "your-title-here"