Commit c2b9ee539075e446ae66c5773c7f3dbb13f35751

Authored by Karpikau Andrei
1 parent 34226e52

check domain as global variable

... ... @@ -89,10 +89,10 @@ module Kanjai
89 89 if root_page
90 90 redirect_to root_page.menu_url($scheme)
91 91 else
92   - render text: "Can not found page #{@url} for domain #{domain_title}"
  92 + render text: "Can not found page #{@url} for domain #{domain_title}" and return
93 93 end
94 94 else
95   - render text: "Can not found page #{@url} for domain #{domain_title}"
  95 + render text: "Can not found page #{@url} for domain #{domain_title}" and return
96 96 end
97 97 end
98 98 $url = @url
... ...
1 1 module Kanjai
2   - VERSION = "0.0.216"
  2 + VERSION = "0.0.217"
3 3 end
... ...