Hi all,
In older version 2.x I was doing something like:
map.resources :jobs, :as => ''vagas''
and this way, I can use jobs_path to create a link to.
But in rails 3, I still can use :as to define an alias, but I cannot
use jobs_path anymore, because it forces me to use vagas_path.
So I was wondering if have any way to define an alias and still use
the original resource name to create a link.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.