Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 186 Bytes
# Actionpack controller
snippet respond_to
respond_to do |wants|
wants.${1:html}${2}
end
snippet wants
wants.${1:js|json|xml|html}${2}
snippet flash
flash[:${1:notice}] = "${2}"