Backport #11437 to 4-0-stable. Fix default rendered format when calling render method without :content_type option.
Merge pull request #11438 from kennyj/fix_11393-40

Backport #11437 to 4-0-stable. Fix default rendered format when calling render method without :content_type option.