# Pretty resource links with arguments

**URL:** <https://www.ruby-forum.com/t/pretty-resource-links-with-arguments/141203>\
**Category:** Rails\
**Created:** [June 23, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/pretty-resource-links-with-arguments/141203 "2008-06-23T16:15:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvias](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@arvias](https://www.ruby-forum.com/u/arvias)\
**Post date:** [June 23, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/pretty-resource-links-with-arguments/141203/1 "2008-06-23T16:15:10Z")

</div>

Hi,

I have a resource where an action needs an extra argument.

link\_to ‘message’, action\_resource\_path(:argument =\> ‘something’)  
creates a link:  
/resource/action?argument=something.

In order to make this appear like ‘/resource/action/something’ do I  
have to use map.connect or is there a better option using  
map.resources?

–  
M.
