/rhtml-mode/%licai

http://github.com/ridgetang/snippets · #! · 3 lines · 3 code · 0 blank · 0 comment · 0 complexity · 3888b7761cc15507a2122fd0654f2245 MD5 · raw file

  1. #name : <%= link_to " ... ", :controller => " ... ", :action => " ... ", :id => ... %>
  2. # --
  3. <%= link_to "${title}", :controller => "${items}", :action => "${edit}", :id => ${@item} %>$0