|
|
@ -297,6 +297,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
# 首页实训导航点击时,type参数
|
|
|
|
# 首页实训导航点击时,type参数
|
|
|
|
def index
|
|
|
|
def index
|
|
|
|
|
|
|
|
logger.info("##########humen count : #{session[:user_id].count}")
|
|
|
|
@type = params[:type]
|
|
|
|
@type = params[:type]
|
|
|
|
@status = [["全部状态", 0], ["已发布", 2], ["未发布", 1], ["已关闭", 3]]
|
|
|
|
@status = [["全部状态", 0], ["已发布", 2], ["未发布", 1], ["已关闭", 3]]
|
|
|
|
@diff = ["全部难度", "初级学员", "中级学员", "高级学员", "顶级学员"]
|
|
|
|
@diff = ["全部难度", "初级学员", "中级学员", "高级学员", "顶级学员"]
|
|
|
|