/ruby-mode/Ruby on Rails/Controller/controller.recai

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · c1f902a5185c3d61c928033452ccd1cd MD5 · raw file

  1. #name : redirect_to :controller => " ... ", :action => " ... ", :id => ...
  2. #key : recai
  3. #group : rails.controller
  4. #condition : (rails/controller?)
  5. # --
  6. redirect_to :controller => "${items}", :action => "${show}", :id => ${@item}