PageRenderTime 182ms CodeModel.GetById 80ms app.highlight 1ms RepoModel.GetById 100ms app.codeStats 0ms

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

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 4fca17ed17a426dfd6ab44560f85c51d MD5 | raw file
1#name : render :json => " ... "
2#key : rj
3#group : rails.controller
4#condition : (rails/controller?)
5# --
6render :json => @${1:`(singularize-string (rails/cur-res-title))`}.to_json