Showing
2 changed files
with
2 additions
and
2 deletions
| ... | ... | @@ -130,7 +130,7 @@ module Kanjai |
| 130 | 130 | self.menu_generator(session, domain, next_level[:children], subparts, nil, false, page) |
| 131 | 131 | else |
| 132 | 132 | |
| 133 | - if session[:url] == page.lang_attributes(I18n.locale, :url) | |
| 133 | + if session[:url] == page.menu_url('https://', I18n.locale) | |
| 134 | 134 | if active_state_template.present? |
| 135 | 135 | subparts << active_state_template.gsub('###link###', page.menu_url(session[:scheme], lang = nil)) |
| 136 | 136 | .gsub('###title###', page.lang_attributes(I18n.locale, :title)) | ... | ... |