Soc/app/helpers/learning_goals_helper.rb

6 lines
155 B
Ruby

module LearningGoalsHelper
def learning_goal_completed_text(learning_goal)
learning_goal.completed ? t(".completed") : t(".not_completed")
end
end