Ants Pants wrote in post #959111:
> On 3 November 2010 18:38, Marnen Laibow-Koser <[email protected]>
> wrote:
>
>> Best,
>> --
>> 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]<rubyonrails-talk%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>> Yes, I have tried it as I said. It was one of the first things I did try.
> As I said, it acts like render :action and this is from the docs .....
> Template rendering works just like action rendering except that it takes
> a
> path relative to the template root. The current layout is automatically
> applied.

Hmm.  My recollection is that render :action or render :template should 
not change the URL of the already selected controller action, so you 
should still see the profile URL.  I'm not sure why this wouldn't work, 
unless you've got some JavaScript doing funny things, or unless I'm 
misremembering.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

-- 
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