Permalink
Browse files

changed the rest snippet

Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information...
1 parent 719f81d commit d18bc01645af30ae74116aaedc20c0dc7b9fb276 @fishman fishman committed with Apr 7, 2009
Showing with 3 additions and 2 deletions.
  1. +2 −2 ruby-rails/rest.snippet
  2. +1 −0 ruby-rails/rxml.snippet
View
@@ -1,3 +1,3 @@
-respond_to do |wants|
- wants.<+html+> <+{ <++> }+>
+respond_to do |format|
+ format.${1:html}
end
View
@@ -0,0 +1 @@
+render :xml => ${1:text to render}

0 comments on commit d18bc01

Please sign in to comment.