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

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

  1. #name : render :text => " ... ", :status => ...
  2. #key : rts
  3. #group : rails.controller
  4. #condition : (rails/controller?)
  5. # --
  6. render :text => "${Text here...}", :status => ${401}