diff --git a/app.rb b/app.rb index bc05664..16c55d0 100644 --- a/app.rb +++ b/app.rb @@ -35,7 +35,7 @@ get '/bossfight/?:username' do @username = params['username'] ? params['username'] : 'mafiaman' user_raids = Raid.for_user(@username) @first_negative = user_raids.first_negative - @soldiers_lost_to_date = user_raids.soldiers_lost_to_date(@first_negative.created_at) + @soldiers_killed = user_raids.soldiers_lost_to_date(@first_negative.created_at) @contributers = user_raids.contributors(@first_negative.created_at) erb :bossfight diff --git a/views/bossfight.erb b/views/bossfight.erb index 51e3930..235f679 100644 --- a/views/bossfight.erb +++ b/views/bossfight.erb @@ -1,17 +1,20 @@ -

Bossfight: <%= @username %>

-