projectblacklight / blacklight_folders

Allow grouping of blacklight bookmarks into user created reference folders
Other
6 stars 7 forks source link

redirects to main_app.root_url when folder id is invalid #100

Closed jiaola closed 8 years ago

jiaola commented 9 years ago

Hi, this is a second try of the previous #98 pull request. I tried to put everything in the show method but found out that it's not easy to redirect to the homepage form there. So I've kept everything in the rescue_from but added a test. I've also moved the message to a locale file.

Unfortunately I couldn't get the test running (See #99). I'd still like to create a pull request though I understand if you have to get the test fixed first. I hope #99 could get fixed asap as it stops people from contributing to the code (I also saw PR #97 with same error). I'd like to help with fixing that if you can point me to some directions.