Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Defaulted the position to prevent errors down the road (i.e. Report C…

…ards)
  • Loading branch information...
commit 187c0b66b45c2865e1f9c7c2bc1ab21d8a9c7a19 1 parent 85fc25c
Richard Hurt authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/settings/course_types_controller.rb
1  app/controllers/settings/course_types_controller.rb
View
@@ -22,6 +22,7 @@ def edit
def create
@course_type = CourseType.new(params[:course_type])
+ @course_type.position = 0
if @course_type.save
flash[:notice] = "Course type '#{@course_type.name}' was successfully created."
Please sign in to comment.
Something went wrong with that request. Please try again.