PageRenderTime 22ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 9dfa8db71af02d99b2b7b3b2e8554fef MD5 | raw file
  1. #name : render :inline => " ... ", :locals => { ... => " ... " }
  2. #key : ril
  3. #group : rails.controller
  4. #condition : (rails/controller?)
  5. # --
  6. render :inline => "${<%= 'hello' %>}", :locals => { ${name} => "${value}" }