Skip to content
Browse files

Fix typo (?)

  • Loading branch information...
1 parent c6e9f3b commit 8fc63bf08c11014b977a9fae13446c1a7d959091 @Almad Almad committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scala.html
View
2 scala.html
@@ -4,7 +4,7 @@
import dispatch._
val h = new Http
val req = url("<%= @apiUrl %><%= @url %>")
- <% if @helpers.isNotEmpty @headers: %> <:< Map(<%= ("#{@helpers.escape header} -> #{@helpers.escape value}" for header,value of @headers).join(", ") %>)<% end %>)
+ <% if @helpers.isNotEmpty @headers: %> <:< Map(<%= ("#{@helpers.escape header} -> #{@helpers.escape value}" for header,value of @headers).join(", ") %>)<% end %>
<% if @method is "POST": %> << <% else if @method is "PUT" : %> <<< <% end %><% if @method is not "GET": %><%= @helpers.escape @body.join('') %><% end %>
h(req<% if @method is "DELETE": %>.DELETE<% end %> >>> System.out)
</pre>

0 comments on commit 8fc63bf

Please sign in to comment.
Something went wrong with that request. Please try again.