mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
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:
parent
9de975f8eb
commit
ec1a4d78ba
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
module Todos
|
||||
class UndoneTodosQuery
|
||||
include ActionView::Helpers::SanitizeHelper
|
||||
|
||||
attr_reader :current_user
|
||||
def initialize(current_user)
|
||||
@current_user = current_user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue