Skip to content
Snippets Groups Projects
Commit 94f03bdb authored by William George's avatar William George
Browse files

I think you do need the `@`

parent 22d650f9
No related branches found
No related tags found
No related merge requests found
Pipeline #31994237 passed
......@@ -53,6 +53,6 @@ class UserFinder
end
def input_is_id?
username_or_id.is_a?(Numeric) || username_or_id =~ /^\d+$/
@username_or_id.is_a?(Numeric) || @username_or_id =~ /^\d+$/
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment