[GET] Errors and Locales?
So I'm dealing with an interesting but probably simple issue. Working on some Rails 2 stuff that was written by someone who has long been out of reach so I've been dusting it off on my own.
Someone who reviewed this said that since I use I18n and scope everything behind a locale that the routes are having trouble extracting the information needed which is to display a simple form in a modal. I'm not sure how to fix that because it's my first time dealing with internationalization. But I noticed that all the routes that have to do with this app are wrapped inside a code block:
scope "(:locale)", :locale => /en|pt/ do
Here's a GIST of the relevant pieces to this puzzle:
https://gist.github.com/anonymous/44794558ff5f4cc302eb9aac45657549