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 ?
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 -
On Oct 7, 8:58 pm, Pokkai D. [email protected]
Bosco So wrote:
Looks like you want a custom REST action. This screencast may help -
#35 Custom REST Actions - RailsCastsOn Oct 7, 8:58�pm, Pokkai D. [email protected]
Thanks Bosco
i ll check it…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs