diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index c0e7160..fbd5447 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -35,9 +35,6 @@ class CommentsController < ApplicationController def find_problem @problem = @app.problems.find(params[:err_id]) - - # Deal with bug in mogoid where find is returning an Enumberable obj - @problem = @problem.first if @problem.respond_to?(:first) end end -- libgit2 0.21.2