竞赛:进入通知详情页面后,如图左侧导航的“讨论区”却加亮显示了

This commit is contained in:
cxt 2016-12-30 20:29:54 +08:00
parent 6d894c53d5
commit 0f4e3f0189
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class NewsController < ApplicationController
elsif @news.contest_id
@contest = Contest.find(@news.contest_id)
if @contest
@left_nav_type = 4
@left_nav_type = 5
respond_to do |format|
format.js
format.html {render :layout => 'base_contests'}