Skip to content

Commit

Permalink
Update comment.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
raghubetina authored Nov 17, 2022
1 parent 6c984b7 commit 50fb6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/comment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class Comment < ApplicationRecord
def commenter
my_id = self.id
my_id = self.author_id
matching_users = User.where({ :id => my_id })
the_user = matching_users.at(0)
return the_user
Expand Down

0 comments on commit 50fb6e4

Please sign in to comment.