app/controllers/lolita/i18n_controller.rb in lolita-i18n-0.5.5 vs app/controllers/lolita/i18n_controller.rb in lolita-i18n-0.5.6

- old
+ new

@@ -61,10 +61,10 @@ def i18n_request @i18n_request ||= Lolita::I18n::Request.new(params) end def send_xls_file(translations, active_locale) - path = '/tmp' + path = Rails.root.join('tmp') xlsx_package = Axlsx::Package.new wb = xlsx_package.workbook wb.add_worksheet(name: "Translations") do |sheet| sheet.add_row ['Key', 'Url', 'Original', 'Translation'] translations.each do |item|