Skip to content
Snippets Groups Projects
Commit 61de8470 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent e8855247
No related branches found
No related tags found
No related merge requests found
class Extranet::HomeController < Extranet::ApplicationController
def index
redirect_to admin_root_path unless current_extranet
return redirect_to admin_root_path unless current_extranet
@cohorts = current_extranet.about&.cohorts || current_university.education_cohorts
@cohorts = @cohorts.ordered.limit(5)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment