lib/localeapp/rails/controller.rb in localeapp-0.7.2 vs lib/localeapp/rails/controller.rb in localeapp-0.8.0

- old
+ new

@@ -18,10 +18,10 @@ unless ::Localeapp.configuration.reloading_disabled? if ::Localeapp.poller.needs_reloading? ::Localeapp.log_with_time 'reloading I18n' I18n.reload! - ::Localeapp.poller.updated_at = ::Localeapp.poller.synchronization_data[:updated_at] + ::Localeapp.poller.updated_at = ::Localeapp.poller.sync_data.updated_at end end end def send_missing_translations