# Problem with url\_for and namespaces (in in\_place\_editing)

**URL:** <https://www.ruby-forum.com/t/problem-with-url-for-and-namespaces-in-in-place-editing/148874>\
**Category:** Rails\
**Created:** [September 17, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/problem-with-url-for-and-namespaces-in-in-place-editing/148874 "2008-09-17T22:32:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elioncho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ed8c4c/32.png) [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Post date:** [September 17, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/problem-with-url-for-and-namespaces-in-in-place-editing/148874/1 "2008-09-17T22:32:35Z")

</div>

Hello,

Well I have been working with the in\_place\_editing plugin and have  
been running into the following error:

Unknown action  
No action responded to 1

My code on my view is below:

\<%= @permission.name %\>  
\<%= in\_place\_editor “permission”, {:url =\> url\_for(:action =\>  
“update”, :id =\> @permission.id) } %\>

I have looked into the development.log and the error is that is the  
action parameter sent is “1”, when it should be “update”. The problems  
seems to me is that the permissions controller is part of the admin  
namespace:

map.namespace :admin do |admin|  
admin.resources :permissions

Anyone has any ideas on how to solve this? I have tried to write a  
restful route (admin\_permission\_path(@permission.id)), but the plugin  
doesn’t seems to work with them. Thanks,

Elioncho
