Hi there,

how do I tell the current controller correctly to redirect_to an action
of another controller that is 1 level higher in the folder hierarchy
than the current controller?

How I have tried: Within the current controller (called 'incidents'), I
have put:

  redirect_to :controller => 'members', :action => 'show', :id =>
@user.id

(Where 'members' is 1 level higher. And this doesn't work.)

Thank you for any help with this!
Tom
-- 
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