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

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

  1. #name : render :file => " ... "
  2. #key : rf
  3. #group : rails.controller
  4. #condition : (rails/controller?)
  5. # --
  6. render :file => "${filepath}"