Skip to content

Commit

Permalink
fixed some linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
swayam-agrahari committed Dec 20, 2024
1 parent c2623bf commit 538bcba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/helpers/course_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def format_wiki_namespaces(wiki_namespaces)
end
end

def closed_course_class(course)
return 'table-row--closed' if course.flags&.dig(:closed_date)
''
end
def closed_course_class(course)
return 'table-row--closed' if course.flags&.dig(:closed_date)
return ''
end

end

0 comments on commit 538bcba

Please sign in to comment.