Skip to content

Commit

Permalink
added combined snippet form
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information
Reza Jelveh authored and Martin Grenfell committed May 10, 2009
1 parent 70f273f commit 778d6e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ruby-rails/rest.snippet
@@ -1,3 +1,3 @@
respond_to do |format|
format.${1:html}
respond_to do |wants|
wants.${1:html} <+{ <++> }+>
end
2 changes: 1 addition & 1 deletion ruby-rails/vp.snippet
@@ -1 +1 @@
validates_presence_of :<+attribute+><+, :on => :<+create+>, :message => "<+can't be blank+>"+>
validates_presence_of :${1:attribute}<+, :on => :<+create+>, :message => "<+can't be blank+>"+>

0 comments on commit 778d6e8

Please sign in to comment.