From e5204112d03b8c2a04a3ee2386e80b145d93e5d0 Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 30 Sep 2016 17:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E5=88=97=E8=A1=A8=E6=8A=A550?= =?UTF-8?q?0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/courses_controller.rb | 2 +- app/views/courses/member.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 967e0bb58..087b31664 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -1203,7 +1203,7 @@ class CoursesController < ApplicationController #统计 def statistics_course - @left_nav_type = 9 + @left_nav_type = 10 respond_to do |format| format.html {render :layout => 'base_courses'} end diff --git a/app/views/courses/member.html.erb b/app/views/courses/member.html.erb index 36e991f41..2d2eecab1 100644 --- a/app/views/courses/member.html.erb +++ b/app/views/courses/member.html.erb @@ -1,4 +1,4 @@ -<% if @role == 1 %> +<% if @role.to_i == 1 %>

<%= @subPage_title%>