ambition/app/controllers/projects_controller.rb

36 lines
441 B
Ruby
Raw Normal View History

2016-12-27 20:15:05 +08:00
class ProjectsController < ApplicationController
before_action :authenticate
#获取我的项目列表user_id保存在session中.
def index
#Todo
end
#创建项目
def create
#Todo
end
#项目添加用户
def addUsers
#Todo
end
#项目详情
def detail
#Todo
end
end