Skip to content

Commit 02fc680

Browse files
committed
Longer course titles
1 parent 0f428ed commit 02fc680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/course.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def links_as_json(view_context)
137137
}
138138
validates :title,
139139
presence: true,
140-
length: { within: 1..40 }
140+
length: { within: 1..80 }
141141
validates :description, length: { maximum: 512 }
142142
validate :check_name_length
143143

0 commit comments

Comments
 (0)