bingo bob wrote:
> 
> I'm trying to figure this.
> 
> in my schools controller i want to do this....
> 
> result I think i need a route...something like this....
> 
> map.connect '/schools/:school_id/reviews/new', :controller => 'schools',
> :action => 'create_review_for_a_school'
> 
> 
> ------
> 
> But it's still going to the reviews new action I'd like it to go to the
> def create_review_for_a_school action?
> 
> 
> any tips?

Here you can find the way of routing, I think It help's you.

http://rdr.rubyforge.org/
-- 
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