Try redirecting from controller to fix JSON error in production

Trying to redirect from the controller to fix error on heroku. Don't know why
I didn't know how to do that before. Shit head.