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 <[EMAIL PROTECTED]>
wrote:
> 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 ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to