Forum: Ruby on Rails how to divert routes resources in rails 2.1.1 ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1b507a552850441a516948d488962d2e?d=identicon&s=25 Sniper Abandon (mokkai)
on 2008-10-08 05:58
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 ?
E5730aa59e1330aec4d63fb9a602c2e2?d=identicon&s=25 Bosco So (Guest)
on 2008-10-08 10:01
(Received via mailing list)
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>
1b507a552850441a516948d488962d2e?d=identicon&s=25 Sniper Abandon (mokkai)
on 2008-10-08 11:09
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..
This topic is locked and can not be replied to.