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

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

  1. #name : render :action => " ... ", :layout => " ... "
  2. #key : ral
  3. #group : rails.controller
  4. #condition : (rails/controller?)
  5. # --
  6. render :action => "${action}", :layout => "${layoutname}"