Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed redirectTo not working in controllers where no view is imported
This change adds a `import Web.Routes` to every freshly generated `Web.Controller.Prelude`. This ensures that the routing instances are in scope even when no view is imported. Without these instances being in scope, calls to redirectTo will fail.
- Loading branch information