竞赛:进入通知详情页面后,如图左侧导航的“讨论区”却加亮显示了
This commit is contained in:
parent
6d894c53d5
commit
0f4e3f0189
|
@ -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'}
|
||||
|
|
Loading…
Reference in New Issue