We can use slugger from university-web to generate the slug. We will also need to update all puzzle_path(puzzle.id) routes to use puzzle_path(puzzle.slug) and add Puzzle#slug which would be a required field.
University-web also has a simple javascript helper which populates a specified field with slug data which we can use.
We can use slugger from university-web to generate the slug. We will also need to update all
puzzle_path(puzzle.id)
routes to usepuzzle_path(puzzle.slug)
and addPuzzle#slug
which would be a required field.University-web also has a simple javascript helper which populates a specified field with slug data which we can use.