|
|
|
@ -1,20 +1,20 @@
|
|
|
|
|
json.top do
|
|
|
|
|
json.shixun_url "/shixuns"
|
|
|
|
|
json.shixun_paths_url "#{@old_domain}/paths"
|
|
|
|
|
json.course_url "#{@old_domain}/courses"
|
|
|
|
|
json.shixun_paths_url "/paths"
|
|
|
|
|
json.course_url "/courses"
|
|
|
|
|
json.competitions_url "#{@old_domain}/competitions"
|
|
|
|
|
json.topic_url "#{@old_domain}/forums"
|
|
|
|
|
json.new_course_url "#{@old_domain}/courses/new"
|
|
|
|
|
json.new_shixun_url "#{@old_domain}/shixuns/new"
|
|
|
|
|
json.new_shixun_path_url "#{@old_domain}/paths/new"
|
|
|
|
|
json.topic_url "/forums"
|
|
|
|
|
json.new_course_url "/courses/new"
|
|
|
|
|
json.new_shixun_url "/shixuns/new"
|
|
|
|
|
json.new_shixun_path_url "/paths/new"
|
|
|
|
|
json.new_project_url "#{@old_domain}/projects/new"
|
|
|
|
|
json.join_course_url "#{@old_domain}/courses/join_course_multi_role"
|
|
|
|
|
json.join_course_url "/courses/join_course_multi_role"
|
|
|
|
|
json.join_project_url "#{@old_domain}/applied_project/applied_project_info"
|
|
|
|
|
json.message_url "#{@old_domain}#{@user_url}/user_tidings"
|
|
|
|
|
json.message_url "#{@user_url}/user_tidings"
|
|
|
|
|
json.new_message @new_message
|
|
|
|
|
|
|
|
|
|
json.moop_cases_url "#{@old_domain}/moop_cases"
|
|
|
|
|
json.crowdsourcing_url "#{@old_domain}/crowdsourcing"
|
|
|
|
|
json.crowdsourcing_url "/crowdsourcing"
|
|
|
|
|
|
|
|
|
|
json.career_url do
|
|
|
|
|
json.array! @career.to_a do |c|
|
|
|
|
|