Skip to content

Commit

Permalink
Add before_action snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomiranda committed Feb 17, 2014
1 parent 9cf1363 commit c7d3ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snippets/ruby.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7d3ce0

Please sign in to comment.