Skip to main content
Ask A Question
Notifications
You’re not receiving notifications from this thread.
Subscribe

[GET] Errors and Locales?

General • Asked by Ja Ku

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


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.