Skip to content

Fix/remove weird chapter_id code #534

@jcn

Description

@jcn

The fix_chapter_ids code is weird and should be removed/fixed but I'm not sure the implications of it. When viewing project pages, this before_action changes the id param from the full param (with the title) to just the id.

https://github.com/awesomefoundation/awesomebits/blob/master/app/controllers/application_controller.rb#L56-L66

This code was put in a long time ago and I'm not sure how necessary it is any more. It may have just been transitional when moving from chapter ids to friendly_id slugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions