Tuesday, August 30, 2011

[Rails] Re: Re: redirect_to with params for a nested resource?

Jim ruther Nill wrote in post #1019226:
> On Tue, Aug 30, 2011 at 10:29 PM, 7stud -- <lists@ruby-forum.com> wrote:
>
>> > Post model, controller, etc., and I want this controller to redirect
>> >
>>
> As 7stud pointed out, you might want to resort to using named_routes.
> But I
> think 7stud's syntax
> is a bit wrong.
>

Whoops. You're right.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate