japacible / commission-me

Platform for commissioners and buyers to connect and finalize sales.
http://commissionme.herokuapp.com/
4 stars 3 forks source link

Backwards redirects on general failures #158

Closed kcorman closed 10 years ago

kcorman commented 10 years ago

There are a few places where errors are not expected to happen, but can. For example, trying to access a conversation that doesn't exist. Currently these either crash or redirect to the root url. These should always redirect to the last page the user was on. Currently, redirect_to :back doesn't work for some reason, so solving this issue involves investigating why that doesn't work. It may also involve manually storing additional data in the session.

kcorman commented 10 years ago

I'll address this after wednesday. I'm guessing it will take me about 1-3 hours. It should be straightforward and easy, but sometimes ramping up on the way rails does things can take a long time. Then there are all the pages to consider.