Fix some rubocop style violations in the new CoursesController
Fix some rubocop style violations in the new CoursesController

feelfreelinux/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,Wowu/WikiEduDashboard,feelfreelinux/WikiEduDashboard,MusikAnimal/WikiEduDashboard,majakomel/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,feelfreelinux/WikiEduDashboard,WinnySilva/WikiEduDashboard,sejalkhatri/WikiEduDashboard,adamwight/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,adamwight/WikiEduDashboard,alpha721/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,sejalkhatri/WikiEduDashboard,ragesoss/WikiEduDashboard,MusikAnimal/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WinnySilva/WikiEduDashboard,adamwight/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,MusikAnimal/WikiEduDashboard,alpha721/WikiEduDashboard,ragesoss/WikiEduDashboard,alpha721/WikiEduDashboard,WinnySilva/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,Wowu/WikiEduDashboard,ragesoss/WikiEduDashboard,KarmaHater/WikiEduDashboard,Wowu/WikiEduDashboard,MusikAnimal/WikiEduDashboard,feelfreelinux/WikiEduDashboard