I’m trying to generate a URL of the form
controller/action?id=&type=. My code looks like this:
url_for(:controller => ‘content’,
:action => ‘get_resource’,:id => item[‘Id’],:type => item[‘type’]
The url I end up with looks like this:
(the is correct, the issue is tha the ID is entirely missing).
What am I doing wrong here?