我的课堂标签修改

This commit is contained in:
daiao 2017-09-08 21:51:57 +08:00
parent c4f90858f4
commit 303eaebda2
1 changed files with 1 additions and 1 deletions

View File

@ -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