我的课堂标签修改
This commit is contained in:
parent
c4f90858f4
commit
303eaebda2
|
|
@ -15,7 +15,7 @@ class SyllabusesController < ApplicationController
|
|||
def index
|
||||
@status = params[:type].nil? ? 1 : params[:type].to_i # 1表示正在进行,2表示已结束
|
||||
@tab = params[:tab].nil? ? 1 : params[:tab].to_i
|
||||
|
||||
@my_syllabuses = "我的课堂"
|
||||
user = User.current
|
||||
if @status == 1
|
||||
case @tab
|
||||
|
|
|
|||
Loading…
Reference in New Issue