how to divert routes resources in rails 2.1.1 ?

i created scaffold Post
when i check in the browser everything is fine
if i give my own link in any page
<%=link_to "new_action",:action=>'new_action' %>

it always go to show action only
how to override this ?

Looks like you want a custom REST action. This screencast may help -
http://railscasts.com/episodes/35-custom-rest-actions

Bosco So wrote:

Looks like you want a custom REST action. This screencast may help -
http://railscasts.com/episodes/35-custom-rest-actions

On Oct 7, 8:58�pm, Pokkai Dokkai <rails-mailing-l...@andreas-s.net>

Thanks Bosco
i ll check it..