Revision tab on spam moderation page link is broken
We've got a dead end on the "revisions" history tab.

Thanks Bronwen! I believe the relevant code should be on these lines:
https://github.com/publiclab/plots2/blob/112275b1a8fd9d91566786e4ba01f86be8ce1bda/app/controllers/admin_controller.rb#L91-L101
On Tue, May 8, 2018 at 9:01 AM, Bronwen Densmore [email protected] wrote:
We've got a dead end on the "revisions" history tab.
[image: revisiontab] https://user-images.githubusercontent.com/8331717/39758595-4778004c-529e-11e8-80a1-b02f2f47edb2.gif
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/2703, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ8UQV3rp5oPltWis1OG84ZhwzHL1ks5twZc1gaJpZM4T2mcD .
If someone wants to test this out locally, I bet it's just a bad URL! @chanjess maybe this could be one to try out if you're interested?
@jywarren Hi, i will try to test this out locally! Are you thinking that its an issue with a bad URL and not necessarily code?
I suspect as much, but it's a guess!
On Thu, May 10, 2018, 4:49 PM chanjess [email protected] wrote:
@jywarren https://github.com/jywarren Hi, i will try to test this out locally! Are you thinking that its an issue with a bad URL and not necessarily code?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/2703#issuecomment-388181279, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ5V8BAMOXLMBrn45SJBgO0PWu0yHks5txKfRgaJpZM4T2mcD .
@jywarren Oh i see, ok I'll check it out. i'm guessing its on line 99?
redirect_to '/dashboard
hi @chanjess @jywarren , line 99 is not in action as we are not redirected to dashboard. hmm, no such error is encountered in development, so it may be related to the production database. How about checking logs?