mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
7 lines
92 B
Ruby
7 lines
92 B
Ruby
module ApplicationHelper
|
|
|
|
def score
|
|
current_user.habits.sum('score').to_i
|
|
end
|
|
end
|