PageRenderTime 36ms CodeModel.GetById 33ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 5f603294a0ef0cff2880851787de5cc3 MD5 | raw file
1#name : render :partial => " ... ", :locals => { : ...  => " ... "}
2#key : rpl
3#group : rails.controller
4#condition : (rails/controller?)
5# --
6render :partial => "${item}", :locals => { :${name} => "${value}"}