Showing
3 changed files
with
3 additions
and
5 deletions
No preview for this file type
| ... | ... | @@ -99,10 +99,8 @@ module Kanjai |
| 99 | 99 | |
| 100 | 100 | session[:scheme] = 'http://' |
| 101 | 101 | |
| 102 | - unless current_admin_user | |
| 103 | - layer.gsub!('<meta name="csrf-param" content="###CSRF_PARAM###"/>', '') | |
| 104 | - layer.gsub!('<meta name="csrf-token" content="###CSRF_TOKEN###"/>', '') | |
| 105 | - end | |
| 102 | + layer.gsub!('<meta name="csrf-param" content="###CSRF_PARAM###"/>', '') | |
| 103 | + layer.gsub!('<meta name="csrf-token" content="###CSRF_TOKEN###"/>', '') | |
| 106 | 104 | |
| 107 | 105 | domain.page_langs.each do |item| |
| 108 | 106 | if item.code.to_s != I18n.locale.to_s | ... | ... |