|
|
|
@ -6,6 +6,7 @@ class SubjectsController < ApplicationController
|
|
|
|
|
before_filter :require_login, :except => [:show, :index]
|
|
|
|
|
before_filter :check_authentication, :except => [:show, :index]
|
|
|
|
|
before_filter :find_subject, :except => [:index, :new, :create, :create_subject, :new_subject, :append_to_stage, :send_to_course]
|
|
|
|
|
before_filter :require_admin, :only => [:destroy]
|
|
|
|
|
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
include SubjectsHelper
|
|
|
|
|