Add before_action snippet

This commit is contained in:
Roberto Miranda 2014-02-16 21:54:19 -05:00
parent 9cf136348b
commit c7d3ce085c

View File

@ -620,6 +620,8 @@ snippet asrj
assert_rjs :${1:replace}, "${0:dom id}"
snippet ass assert_select(..)
assert_select '${1:path}', :${2:text} => '${3:inner_html' ${4:do}
snippet ba
before_action :${0:method}
snippet bf
before_filter :${0:method}
snippet bt