Temporarily add the sanitize helper

This is so we can keep the tests passing by fixing a NoMethodError when
attempting to run both the new query object and the existing code at the
same time.
This commit is contained in:
Matt Rogers 2019-04-07 20:01:22 -05:00
parent 9de975f8eb
commit ec1a4d78ba
No known key found for this signature in database
GPG key ID: 605D017C07EB4316

View file

@ -1,5 +1,7 @@
module Todos
class UndoneTodosQuery
include ActionView::Helpers::SanitizeHelper
attr_reader :current_user
def initialize(current_user)
@current_user = current_user