Commit 9f3d290b7e13590d2e3ed6c50949242995870005

Authored by Andrey Karpikov
1 parent cedf8ab8

make redirect to language page

@@ -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
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.354" 2 + VERSION = "0.0.355"
3 end 3 end