dev_haigong
cxt 6 years ago
parent 31beeaaf67
commit d62f927baf

@ -3,8 +3,8 @@ class EcCoursesController < ApplicationController
layout 'base_ec'
before_filter :find_ec_course, :except => [:create, :get_calculation_data, :sync_all_course_data, :search_courses]
before_filter :find_year, :only => [:create, :get_calculation_data]
before_filter :require_login, :except => [:search_courses]
before_filter :ec_auth, :except => [:sync_all_course_data, :search_courses]
before_filter :require_login, :except => [:search_courses, :correlation_course]
before_filter :ec_auth, :except => [:sync_all_course_data, :search_courses, :correlation_course]
skip_before_filter :verify_authenticity_token, :only => [:crud_targets, :crud_score_level, :sync_all_course_data, :search_courses,
:correlation_course, :delete_course]

Loading…
Cancel
Save