Hi!
I've got some problems with named routes in the Alchemy CMS. I was hoping that you guys maybe know why it's happening and what I can do about it.
I created an Alchemy module named products. In the toolbar view of the module I would like to use named routes to link to products#new. The view is calling `new_admin_product_path` but I receive the following error message:
Error: undefined local variable or method `new_admin_product_path' for #<#<Class:0x007fd670192258>:0x007fd67062d808>
However, when I run `rake routes` it gives the route just as expected:
new_admin_product GET /admin/products/new(.:format) admin/products#new
My config/routes.rb:
http://pastebin.com/sftSMr3A
Are there anyone else that have encountered the same problem? Any clues of how to resolve it?
Thanks in advance,
/Jesper