Rails 3 edit_xxx_path(xxx) error #12

Closed
geoffgom opened this Issue Nov 3, 2010 · 2 comments

Projects

None yet

3 participants

@geoffgom
geoffgom commented Nov 3, 2010

Hi,

When using the plugin with rails 3.0.1, I encounter an error while showing the "link_to edit_model-name_path(instance). The plugin mistake the param instance for the param locale.

The workaround is using edit_model-name_path(:id => instance.id), but I don't think it is how it should be.

Regards

@cice
cice commented Nov 12, 2010

Hi,
could you write a failing test for this bug (and the other one you posted)?, i'll take a look at it tomorrow.
greetings
marian

@raul
Owner
raul commented Nov 18, 2010

Hi Geoffroy, thanks a lot for reporting!
It should be fixed now, feel free to reopen the issue if needed.

@victor-cruz victor-cruz pushed a commit to victor-cruz/translate_routes that referenced this issue Jul 9, 2011
@raul Closing bug #12 ceca754
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment