amberframework / amber

A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
https://amberframework.org
MIT License
2.57k stars 206 forks source link

Change the path #1237

Closed grkek closed 3 years ago

grkek commented 3 years ago

The ternary operator returned a wrong value which resulted in a recursion of redirects ending in an error code.

drujensen commented 3 years ago

@grkek Would you be able to add a test to show this logic was incorrect?

grkek commented 3 years ago

@grkek Would you be able to add a test to show this logic was incorrect?

It's 6 in the morning, in 4-5 hours probably.

grkek commented 3 years ago

@grkek Would you be able to add a test to show this logic was incorrect?

It's done 👍