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