fix error

This commit is contained in:
BOHUNG 2020-03-10 19:50:28 +08:00
parent bb3d390fe6
commit 71e98453d1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class OlympiamanagementsController < ApplicationController class OlympiamanagementsController < ApplicationController
include ActionView::Context #vary important (only add this can access @@session from view) include ActionView::Context #vary important (only add this can access @@session from view)
before_action :set_sign_up_setting,:create_first_fields before_action :set_sign_up_setting,:create_first_fields
before_action :check_time , except=>[:index,:download_school_code] before_action :check_time , :except=>[:index,:download_school_code]
prepend_view_path "app/templates" #for_render_pages prepend_view_path "app/templates" #for_render_pages
layout :get_layout #for_render_pages layout :get_layout #for_render_pages
helper Admin::OlympiamanagementsHelper helper Admin::OlympiamanagementsHelper