From fb3c513da2ad881340ec5423d2a1ca6197fec9ca Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Thu, 8 May 2014 09:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E2=80=9C=E6=88=91=E8=A6=81=E5=8F=82?= =?UTF-8?q?=E8=B5=9B=E2=80=9D=E5=BA=94=E7=94=A8=E4=BA=86base=E2=80=94?= =?UTF-8?q?=E2=80=94newcontest=E7=9A=84=E6=95=B4=E4=BD=93=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/contests_controller.rb | 13 ++++++++++++- app/views/contests/show_attendingcontest.html.erb | 0 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 app/views/contests/show_attendingcontest.html.erb diff --git a/app/controllers/contests_controller.rb b/app/controllers/contests_controller.rb index 830c74357..75778631a 100644 --- a/app/controllers/contests_controller.rb +++ b/app/controllers/contests_controller.rb @@ -292,7 +292,18 @@ class ContestsController < ApplicationController ###我要参赛 def show_attendingcontest - + + + + + ##引用base_newcontest整体样式 + respond_to do |format| + format.html { + render :layout => 'base_newcontest' + } + format.api + + end end ###end diff --git a/app/views/contests/show_attendingcontest.html.erb b/app/views/contests/show_attendingcontest.html.erb new file mode 100644 index 000000000..e69de29bb