Skip to content

Commit

Permalink
changed view a little
Browse files Browse the repository at this point in the history
  • Loading branch information
dpick committed Oct 9, 2010
1 parent ab00505 commit 63e2a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

get '/beer' do
all = Beer.all
"<h1>#{all[rand(all.size)].name}</h1>"
"How about a <br><h1>#{all[rand(all.size)].name}</h1>"
end

get '/drink' do
all = Drink.all
"<h1>#{all[rand(all.size)].name}</h1>"
"How about a <h1>#{all[rand(all.size)].name}</h1>"
end

post '/newdrink' do
Expand Down

0 comments on commit 63e2a8c

Please sign in to comment.