diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 862169792..915d95bd7 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -1007,7 +1007,6 @@ class CoursesController < ApplicationController @issue_custom_fields = IssueCustomField.sorted.all @trackers = Tracker.sorted.all @course = Course.new - @course.safe_attributes = params[:course] @syllabus = Syllabus.where("id = #{params[:syllabus_id].to_i}").first if params[:syllabus_id] # month = Time.now.month render :layout => 'new_base' diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb index 41fec1fa0..00435bcfa 100644 --- a/app/views/courses/new.html.erb +++ b/app/views/courses/new.html.erb @@ -3,7 +3,7 @@