Skip to content

Commit

Permalink
fixed nill disc
Browse files Browse the repository at this point in the history
  • Loading branch information
dasolyoon committed Nov 18, 2016
1 parent 91d25d3 commit b8678be
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/controllers/file_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ def download_approved_teams
Team.approved_teams.each do |t|
discussion = Discussion.find_by_id(t.discussion_id)

if(discussion.nil?)
byebug
end



t.users.each do |u|
rows << [t.id, discussion.number, u.sid, u.name]
Expand Down

0 comments on commit b8678be

Please sign in to comment.