Help me please, very urgent.

I have resources that lay in plugin, they have structure like
Somename::Arch::Notes

Also I have controllers for this model in different controller, that lay
in
sysadmin/notes

When the form is building with form_for it tries to generate path with
method
somename_arch_notes_path

But it is not generated by routes.rb

I have there:
map.resources :notes, :controller => '/sysadmin/notes', :path_prefix =>
'/somename/arch'

In 'rake routes' I have only notes_path but not somename_arch_notes_path

Is it possible to add that prefix somename_arch_ to methods that are
generated

Thanks!

-- 
Posted via http://www.ruby-forum.com/.

-- 
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