|
|
@ -60,7 +60,7 @@ class EcsController < ApplicationController
|
|
|
|
def get_navigation_url
|
|
|
|
def get_navigation_url
|
|
|
|
ec_user = EcSchoolUser.where(:user_id => User.current.id).first
|
|
|
|
ec_user = EcSchoolUser.where(:user_id => User.current.id).first
|
|
|
|
ec_url = "#{department_ecs_path(:school_id => ec_user.school_id)}" if ec_user
|
|
|
|
ec_url = "#{department_ecs_path(:school_id => ec_user.school_id)}" if ec_user
|
|
|
|
render :json => {ec_url: ec_url}
|
|
|
|
render :json => {ec_url: ec_url, project_packages_url: "/crowdsourcing" }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|