I am trying to get this to work: it is really close and half way
map.namespace(:admin) do |admin|
admin.namespace(:products) do |products|
[ :pdfs, :images, :firmwares, :specables ]
when I run rake routes i get stuff like:
which is what I expected. however when I try to use this in a form
<% form_for([:admin, @product]) do |f| %>
I get an error this error from rails in a from view:
undefined method `admin_product_brain_path’ for #<ActionView::Base:
Not sure how to fix this, but this is so freggin close it is
Anyone know the answer?
Happy New Year!