Skip to content

Commit 69ecf39

Browse files
Update browse_routes.py
1 parent edf2c21 commit 69ecf39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/browse_routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Map the course_name parameter to the corresponding course data using a dictionary
88
course_mapping = {
99
'Java': data.Java,
10-
'CSharp': data.CSharp,
10+
'C++': data.C++,
1111
'ReactJS': data.ReactJS,
1212
'ML+AI': data.ML,
1313
'JavaScript': data.JavaScript,
@@ -50,4 +50,4 @@ def browse():
5050
return render_template('browse.html', trending=trending, allCourses=allCourses, search_keyword=search_keyword, search_results=filtered_courses)
5151

5252
# If it's a GET request, show the regular browse page without search results
53-
return render_template('browse.html', trending=trending, allCourses=allCourses)
53+
return render_template('browse.html', trending=trending, allCourses=allCourses)

0 commit comments

Comments
 (0)