Skip to content

Commit

Permalink
fix regex, still trouble with text
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefritz committed Sep 24, 2011
1 parent 9ba73aa commit 21f0048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/tropo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

http = Net::HTTP.new('screenhead.heroku.com')

http.post "/text" , {:text=> text }
http.post "/text" , {"text"=> text }

if /launch/ =~ text
if text =~ /launch/i
http.post "/launch", {}
say "oh snap, now you're really in trouble...."
end

0 comments on commit 21f0048

Please sign in to comment.