#1688修改竞赛搜索报404

This commit is contained in:
sw 2014-12-10 09:37:24 +08:00
parent a69fdfe1ed
commit 0044f17fba
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class ContestsController < ApplicationController
def index
render_404
render_404 unless params[:name]
# @contests = Contest.visible
# @contests ||= []
@offset, @limit = api_offset_and_limit(:limit => 10)