This project is archived and is in readonly mode.

#2618 ✓resolved
Claudio Poli

[Patch] template missing with respond_to and namespaced controllers

Reported by Claudio Poli | May 7th, 2009 @ 02:40 PM | in 3.0.2

hi, since the rework contained in this commit:

I had a couple issues, one of them is that rails is not able to find templates for rendering when using respond_to block.

Simple example on a namespaced controller:

class Administration::PatientsController < Administration::HomeController

  def index

    respond_to do |format|
      # format.js do ...

Template is missing

Missing template patients/index - {:formats=>[:html, :xml, :text, :html, :all], :locales=>["it"]} - partial: false.erb in view path /Users/kain/Sites/careme/app/views

the view files are in the usual place:


if not using the respond_to block it renders the page correctly.

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=""></a>