Skip to content
Browse files

submission_confirmation: Specify content-type

  • Loading branch information...
1 parent 3451800 commit 51c2571be87eb19af199569bf1cd1270a0d31592 @mistydemeo committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 helpers.rb
View
1 helpers.rb
@@ -70,6 +70,7 @@ def submission_confirmation
status 200
if not json_requested?
+ content_type :text
"Thanks for submitting your #{params["item"]}!"
end
end

0 comments on commit 51c2571

Please sign in to comment.
Something went wrong with that request. Please try again.