Showing
2 changed files
with
3 additions
and
1 deletions
| @@ -35,6 +35,8 @@ module Kanjai | @@ -35,6 +35,8 @@ module Kanjai | ||
| 35 | 35 | ||
| 36 | @alternative_languages = @domain.page_langs.where.not(code: @default_lang).pluck(:code).uniq | 36 | @alternative_languages = @domain.page_langs.where.not(code: @default_lang).pluck(:code).uniq |
| 37 | 37 | ||
| 38 | + response.headers["Content-type"] = "application/xml" | ||
| 39 | + | ||
| 38 | respond_to do |format| | 40 | respond_to do |format| |
| 39 | format.xml | 41 | format.xml |
| 40 | end | 42 | end |