Remove respond_with snippet

This is no longer part of Rails, it's now handled by the responders gem.
http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/
This commit is contained in:
Andy Waite 2016-02-07 20:31:05 +00:00
parent 16e922e7fe
commit e97e0d097c

View File

@ -601,12 +601,6 @@ respond_to do |wants|
end
endsnippet
snippet resw "respond_with"
respond_with(${1:@${2:model}})${3: do |format|
format.${4:html} { $0 \}
end}
endsnippet
# FIXME
snippet returning "returning do |variable| ... end"
returning ${1:variable} do${2/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1: |)/}${2:v}${2/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s*$)|.*/(?1:|)/}