I figured it out. It was directly related to the form_for syntax. I
guess that when rails generates the alternative explicit index route.
In this case "admin_news_index" vs "admin_news" a more explicit syntax
is needed.

Instead of this:

<% form_for [:admin, @news] do |f| %>

I found this solved my problem:

<% form_for @news, :url => admin_news_index_path do |f| %>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to