Merge branch 'develop' into szzh
This commit is contained in:
commit
7e58958bf0
|
@ -1,4 +1,4 @@
|
||||||
require 'zip'
|
require 'zip'
|
||||||
class ZipdownController < ApplicationController
|
class ZipdownController < ApplicationController
|
||||||
#查找项目(课程)
|
#查找项目(课程)
|
||||||
before_filter :find_project_by_bid_id, :only => [:assort]
|
before_filter :find_project_by_bid_id, :only => [:assort]
|
||||||
|
|
|
@ -4,5 +4,6 @@ class NormalHomeworkType < ActiveRecord::Migration
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
HomeworkCommon.where("homework_type = 0").update_all(:homework_type => 1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue