From 538bcbaea8413eb1057cabaeb984475abb402a33 Mon Sep 17 00:00:00 2001 From: Swayam Agrahari Date: Fri, 20 Dec 2024 18:43:01 +0530 Subject: [PATCH] fixed some linting issue --- app/helpers/course_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/course_helper.rb b/app/helpers/course_helper.rb index f742316426..8e4d9ba606 100644 --- a/app/helpers/course_helper.rb +++ b/app/helpers/course_helper.rb @@ -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