- :id => url_for(params.merge(:only_path => false)),
- :root_url => url_for(params.merge(:action => :list, :format => nil, :only_path => false)),
+ :id => url_for(@params.merge(:only_path => false)),
+ :root_url => url_for(@params.merge(:action => :list, :format => nil, :only_path => false)),