lib/telegram/bot/railtie.rb in telegram-bot-0.12.0 vs lib/telegram/bot/railtie.rb in telegram-bot-0.12.1

- old
+ new

@@ -16,10 +16,10 @@ initializer 'telegram.bot.updates_controller.set_config' do |app| options = app.config.telegram_updates_controller ActiveSupport.on_load('telegram.bot.updates_controller') do self.logger = options.logger || Rails.logger - self.session_store = options.session_store || Rails.cache + self.session_store = options.session_store if options.session_store end end initializer 'telegram.bot.updates_controller.add_ar_runtime' do ActiveSupport.on_load('telegram.bot.updates_controller') do