Skip to content

Commit

Permalink
submission_confirmation: Specify content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Aug 20, 2012
1 parent 3451800 commit 51c2571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def submission_confirmation
status 200

if not json_requested?
content_type :text
"Thanks for submitting your #{params["item"]}!"
end
end
Expand Down

0 comments on commit 51c2571

Please sign in to comment.