mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +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
|