This project is archived and is in readonly mode.

#153 ✓resolved
Jacek Becela

[PATCH] Render shorthands don't work with namespaced controllers

Reported by Jacek Becela | May 9th, 2008 @ 10:01 PM

This ticket refers to trac ticket #9742 (I don't link in hope this ticket won't get marked as spam as before) and contains up-to-date patch.

This patch allows render shorthands (such as render :partial => @people) work properly in namespaced controllers.

Given a Nest::NestedController you can:

render :partial => @person

or

render :partial => @people

and expect the nest/people/_person to be used.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages