You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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 theid
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.
The text was updated successfully, but these errors were encountered: