给“我要参赛”应用了base——newcontest的整体样式

This commit is contained in:
wanglinchun 2014-05-08 09:30:52 +08:00
parent fe151f9e29
commit fb3c513da2
2 changed files with 12 additions and 1 deletions

View File

@ -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