/**
 * controller
 * @return
 */
module.exports = Controller("Home/BaseController", function(){
  "use strict";
  var courses = [{name:"创造力提升",id:"creativedad",detail:"",source:"UNAM",time:"永久开放",img:"1.jpg"},{name:"跨领域医疗信息学",id:"creativedad",detail:"",source:"Minnesota",time:"永久开放",img:"2.png"},{name:"微观经济学",id:"creativedad",detail:"",source:"Illinois",time:"Dec 22nd",img:"3.jpg"},{name:"遗传学与进化概论",id:"creativedad",detail:"",source:"Duke",time:"Jan 1st",img:"4.jpg"},{name:"探索性数据分析",id:"creativedad",detail:"",source:"约翰霍普金斯大学",time:"3月 2日",img:"5.jpg"},{name:"统计推断",id:"creativedad",detail:"",source:"斯坦福大学",time:"永久开放",img:"6.jpg"}];
  var c_data = {
    navLinks : navLinks,
    section : 'home',
    userInfo : userInfo
  };
  return {
    indexAction: function(){
      //render View/Home/index_index.html file
      //var users = D('user').select();
      this.assign(extend({
        courses:courses,
        title : "首页"
      },c_data))
      this.display();
    }
  };
});
@@ -699,34 +699,9 @@
 ome'
-,%0A    userInfo : userInfo
 %0A
+
   %7D;
@@ -745,95 +745,8 @@
 ()%7B%0A
-      //render View/Home/index_index.html file%0A      //var users = D('user').select();%0A
     
@@ -793,16 +793,16 @@
 ourses,%0A
-
         
@@ -813,16 +813,45 @@
 e : %22%E9%A6%96%E9%A1%B5%22
+,%0A        userInfo : userInfo
 %0A      %7D

add files by wangpengfei