/ruby-mode/Ruby on Rails/Controller/controller.rjext.3
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 0b804c8eb14785b564b7bfbd943aeafa MD5 | raw file
- #name : render :json => ... .to_ext_json update
- #key : rjext.3
- #group : rails.controller
- #condition : (rails/controller?)
- # --
- render :json => @${1:`(singularize-string (rails/cur-res-title))`}.to_ext_json(:success => @$1.update_attributes(params[:$1]))