From c7d3ce085cd2355e06be3346b1db7a537f664d4d Mon Sep 17 00:00:00 2001 From: Roberto Miranda Date: Sun, 16 Feb 2014 21:54:19 -0500 Subject: [PATCH] Add before_action snippet --- snippets/ruby.snippets | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 551b313..1798e08 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -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