From 43962d6ec50f918c9970bd3cd4b6ee5c7f7426ed Mon Sep 17 00:00:00 2001 From: Angelo capilleri Date: Fri, 29 Nov 2013 12:26:12 +0100 Subject: Fix header Content-Type: # in localized template This PR fixes #13064 regression bug introduced by the #8085 Now in _process_format when the format is a Mime::NullType nothing is written in self.content_type. In this way the method Response#assign_default_content_type_and_charset can write the the default mime_type. --- actionpack/test/fixtures/localized/hello_world.it.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 actionpack/test/fixtures/localized/hello_world.it.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/localized/hello_world.it.erb b/actionpack/test/fixtures/localized/hello_world.it.erb new file mode 100644 index 0000000000..9191fdc187 --- /dev/null +++ b/actionpack/test/fixtures/localized/hello_world.it.erb @@ -0,0 +1 @@ +Ciao Mondo \ No newline at end of file -- cgit v1.2.3