removed unnecessary puts
This commit is contained in:
parent
f98e534c12
commit
4ea3b99ff3
|
@ -35,7 +35,6 @@ module ApplicationHelper
|
||||||
|
|
||||||
def inbox_count
|
def inbox_count
|
||||||
return 0 unless user_signed_in?
|
return 0 unless user_signed_in?
|
||||||
puts current_user.id
|
|
||||||
count = Inbox.select("COUNT(id) AS count")
|
count = Inbox.select("COUNT(id) AS count")
|
||||||
.where(new: true)
|
.where(new: true)
|
||||||
.where(user_id: current_user.id)
|
.where(user_id: current_user.id)
|
||||||
|
|
Loading…
Reference in New Issue