Showing
4 changed files
with
4 additions
and
2 deletions
app/controllers/kanjai/apple_controller.rb
renamed from
app/controllers/kanjai/apple_controoler.rb
| @@ -194,7 +194,7 @@ module Kanjai | @@ -194,7 +194,7 @@ module Kanjai | ||
| 194 | str += "<meta name='appleid-signin-nonce' content='#{session[:nonce]}'>" | 194 | str += "<meta name='appleid-signin-nonce' content='#{session[:nonce]}'>" |
| 195 | str += "<meta name='appleid-signin-use-popup' content='true'>" | 195 | str += "<meta name='appleid-signin-use-popup' content='true'>" |
| 196 | 196 | ||
| 197 | - layer.gsub('</head>', str + '</head>') | 197 | + layer.gsub!('</head>', str + '</head>') |
| 198 | 198 | ||
| 199 | return layer | 199 | return layer |
| 200 | 200 |
| @@ -217,6 +217,8 @@ module Kanjai | @@ -217,6 +217,8 @@ module Kanjai | ||
| 217 | elements.each do |item| | 217 | elements.each do |item| |
| 218 | case item[:name] | 218 | case item[:name] |
| 219 | when 'text' | 219 | when 'text' |
| 220 | + p '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!' | ||
| 221 | + p subparts.parent.name | ||
| 220 | subparts << self.replace_text_marker(item[:source], hash_value) | 222 | subparts << self.replace_text_marker(item[:source], hash_value) |
| 221 | when 'repeat' | 223 | when 'repeat' |
| 222 | repeat_id = item[:attributes]['id'] | 224 | repeat_id = item[:attributes]['id'] |