fix cannot download school code in index page when not login.
This commit is contained in:
parent
8b5f2d9f15
commit
b69e0df320
|
@ -5,7 +5,7 @@ class OlympiamanagementsController < ApplicationController
|
|||
prepend_view_path "app/templates" #for_render_pages
|
||||
layout :get_layout #for_render_pages
|
||||
helper Admin::OlympiamanagementsHelper
|
||||
before_action :check_login, except: :login
|
||||
before_action :check_login, except: [:login,:download_school_code]
|
||||
def initialize
|
||||
super
|
||||
@app_title = "olympiamanagement"
|
||||
|
|
Loading…
Reference in New Issue