Set default content type to include charset=utf-8

This commit is contained in:
Paul van Tilburg 2013-06-20 22:06:52 +02:00
parent 6634eeae55
commit 07b655c8db
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ module StopTime
def service(*a)
@config = StopTime::Models::Config.instance
@format = @request.path_info[/.([^.]+)/, 1];
@headers["Content-Type"] = "text/html; charset=utf-8"
super(*a)
end