|
|
|
@ -30,6 +30,7 @@ class ProjectsController < ApplicationController
|
|
|
|
|
skip_before_filter :verify_authenticity_token, :only => [:training_task_status]
|
|
|
|
|
skip_before_filter :check_if_login_required, :only => [:training_task_status]
|
|
|
|
|
before_filter :check_authentication
|
|
|
|
|
before_filter :check_account, only: [:new, :create]
|
|
|
|
|
before_filter :find_project, :except => [ :index, :search,:list, :new, :create, :copy, :statistics, :new_join, :course, :enterprise_course, :course_enterprise,
|
|
|
|
|
:view_homework_attaches,:join_project, :project_home, :training_execute, :training_task_status]
|
|
|
|
|
before_filter :authorize, :only => [:show, :settings, :edit, :sort_project_members, :update, :modules, :close, :reopen,:view_homework_attaches,:course]
|
|
|
|
|