|
|
@ -3,6 +3,7 @@ class HomeworkCommonController < ApplicationController
|
|
|
|
require 'json'
|
|
|
|
require 'json'
|
|
|
|
require "base64"
|
|
|
|
require "base64"
|
|
|
|
layout "base_courses"
|
|
|
|
layout "base_courses"
|
|
|
|
|
|
|
|
|
|
|
|
include StudentWorkHelper
|
|
|
|
include StudentWorkHelper
|
|
|
|
before_filter :find_course, :only => [:index,:new,:create,:next_step]
|
|
|
|
before_filter :find_course, :only => [:index,:new,:create,:next_step]
|
|
|
|
before_filter :find_homework, :only => [:edit,:update,:alert_anonymous_comment,:start_anonymous_comment,:stop_anonymous_comment,:destroy]
|
|
|
|
before_filter :find_homework, :only => [:edit,:update,:alert_anonymous_comment,:start_anonymous_comment,:stop_anonymous_comment,:destroy]
|
|
|
|