Skip to content

Commit

Permalink
Replace hyphen with en-dash
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 12, 2024
1 parent 85b005f commit 1a335b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/controllers/assessment360_controller.rb
Expand Up @@ -189,12 +189,13 @@ def find_peer_review_score(user_id, assignment_id)
participant_scores(participant, questions)
end

#Replace hyphen with an en-dash
def format_topic(topic)
topic.nil? ? '-' : topic.format_for_display
topic.nil? ? '' : topic.format_for_display
end

#Replace hyphen with an en-dash
def format_score(score)
score.nil? ? '-' : score
score.nil? ? '' : score
end

helper_method :format_score
Expand Down

0 comments on commit 1a335b0

Please sign in to comment.