Skip to content

Commit 9e06b9b

Browse files
author
Donny Wong
committed
providing unprocessable entity status
1 parent 55a9271 commit 9e06b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/lti_deployments_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def create_course
187187
Settings.lti.unpermitted_new_course_message,
188188
course_name: record.lms_course_name
189189
)
190-
render 'unpermitted_course_creation'
190+
render 'unpermitted_course_creation', status: :unprocessable_entity
191191
return
192192
end
193193

0 commit comments

Comments
 (0)