diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb old mode 100644 new mode 100755 index 5066916..8e0ea0c --- a/app/controllers/matches_controller.rb +++ b/app/controllers/matches_controller.rb @@ -24,12 +24,6 @@ class MatchesController < ApplicationController def extra end - def score - raise AccessError unless @match.can_update? cuser, [:matchers_attributes] - @contester = @match.contester1.team.is_leader?(cuser) ? @match.contester1 : @match.contester2 - @n = 0 - end - def ref raise AccessError unless @match.can_update? cuser, [:report] @n = 0 diff --git a/app/views/matches/score.html.erb b/app/views/matches/score.html.erb deleted file mode 100644 index ff1d9a0..0000000 --- a/app/views/matches/score.html.erb +++ /dev/null @@ -1,37 +0,0 @@ -
- <%= f.submit "Save" %> -
- <% end %> -
- <%= f.label :score1, "Score" %>
- <%= f.text_field :score1, :size => 1 %>
- <%= f.text_field :score2, :size => 1 %>
-
- <%= f.submit 'Submit' %> -
- <% end %> -