LOMPATAN – LOMPATAN LINK
PADA RAILS 1.2.3
Lompatan link untuk satu Controller :
<%= link_to ‘Show’, :action => ’show’, :id => asesoris %> (menampilkan show dengan id tertentu pada Controller yang sama)
<%= link_to ‘Edit’, :action => ‘edit’, :id => asesoris %> (menampilkan editing dengan id tertentu pada Controller yang sama )
<%= link_to ‘Destroy’, { :action => ‘destroy’, :id => asesoris }, :confirm => ‘Are you sure?’, :method => :post %> (Menghapus File dangan id tertentu )




