Commit ec8f803ee0847be5bb937296a2b7e54ef0261dfc
1 parent
858ef94a
check robots.txt and error with styles
Showing
3 changed files
with
10 additions
and
1 deletions
| ... | ... | @@ -177,6 +177,8 @@ module Kanjai |
| 177 | 177 | elsif self.type_content == 'plugin' |
| 178 | 178 | controller = self.controller_name.constantize.new |
| 179 | 179 | controller.instance_variable_set(:@page_params, session[:page_params]) if session.present? |
| 180 | + controller.instance_variable_set(:@current_page_id, session[:current_page_id]) if session.present? | |
| 181 | + controller.instance_variable_set(:@current_locale, session[:current_locale]) if session.present? | |
| 180 | 182 | |
| 181 | 183 | |
| 182 | 184 | controller.send self.action_name | ... | ... |