Skip to content

Commit

Permalink
minor change. 'start.json' -> 'index.json'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark S committed Jan 27, 2010
1 parent bf9d141 commit 878d79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitter.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%w(rubygems sinatra tropo-webapi-ruby/lib/tropo-webapi-ruby.rb pp open-uri rexml/document goodies.rb).each{|lib| require lib}
enable :sessions

post '/start.json' do
post '/index.json' do
v = Tropo::Generator.parse request.env["rack.input"].read
session[:id] = v[:session][:id]
session[:caller] = v[:session][:from]
Expand Down

0 comments on commit 878d79f

Please sign in to comment.