This project is archived and is in readonly mode.
[Patch] template missing with respond_to and namespaced controllers
-
Claudio Poli
- Title changed from Template not found in edge to Template missing with respond_to and namespaced controllers
I tried to narrow down the problem.
http://github.com/rails/rails/blob/216309c16519d94a9e0aebf758029a78...
http://github.com/rails/rails/blob/216309c16519d94a9e0aebf758029a78...
keeping track of parts array I can see this (remember, namespaced controllers):
without respond_to block:
["index", {:locales=>[:en], :formats=>[:html, :xml, :text, :html, :all]}, "administration/patients"]with respond_to block:
["index", {:locales=>[:en], :formats=>[:html, :xml, :text, :html, :all]}, "patients"]as you can see the last item should be "administration/patients"
I'll investigate more on why this is happening, but if you have any idea it will be appreciated.
-
Claudio Poli
- Title changed from Template missing with respond_to and namespaced controllers to [Patch] template missing with respond_to and namespaced controllers
attached is a small patch that fixes the issue.
-
Uitek
Claudio's patch fixed the issue for me, what do we need to do to get this released?
-
José Valim
- Assigned user set to José Valim
- Milestone cleared.
- Importance changed from to
-
Bruno Michel
I can't reproduce this bug on rails master. It seems like it has been fixed and the ticket can be closed.
-
José Valim
- State changed from new to resolved
