Commit ec8f803ee0847be5bb937296a2b7e54ef0261dfc

Authored by Andrey Karpikov
1 parent 858ef94a

check robots.txt and error with styles

  1 +module Kanjai
  2 + class KanjaiPluginController < SiteController
  3 + def generate_sitemap
  4 +
  5 + end
  6 + end
  7 +end
\ No newline at end of file
... ...
... ... @@ -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
... ...
1 1 module Kanjai
2   - VERSION = "0.0.348"
  2 + VERSION = "0.0.349"
3 3 end
... ...