Permalink
Browse files

submission_confirmation: Specify content-type

  • Loading branch information...
mistydemeo committed Aug 20, 2012
1 parent 3451800 commit 51c2571be87eb19af199569bf1cd1270a0d31592
Showing with 1 addition and 0 deletions.
  1. +1 −0 helpers.rb
View
@@ -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.