Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions frameworks/sinatra/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ class App < Sinatra::Base
end

get('/baseline11') do
total = 0
request.GET.each do |_k, v|
total += v.to_i
end
total = params['a'].to_i + params['b'].to_i
render_plain total.to_s
end

Expand Down
Loading