elixirschool / school_house

The new era of Elixir School now powered by @phoenixframework
https://elixirschool.com/
Apache License 2.0
154 stars 49 forks source link

Ensure old routes for lessons redirect to new routes #142

Closed BrooklinJazz closed 3 years ago

BrooklinJazz commented 3 years ago

PR for Issue #141

Ensure that old URLs will redirect to the new URLs for lessons.

This is to avoid 404 issues for old links or bookmarks. It also helps users whose browsers have a cached version of the old website.

This is my first PR to the project, so please let me know if I can improve the code or the description of the PR 🙏 Thank you @kinson for pointing me to the redirect.exs file.