I have this routing right now:
map.resources :events do |event|
Now I want to add to the event resource other non resourceful routes.
In my case, this new route will be for my notification controller. Per
se notifications belongs to an event but are not resources so I don't
want to use:
event.resources :notifications, :member=>[my notif actions here]
I would like the notification controller to behave as the default
rails routing but within the event scope. Something like this:
and then be able to have this kind of URL:
Is it possible to have such routing? How can I do this?