From dfdab8af557fa259ead3bd6e6d94642f1b7e0b11 Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Wed, 9 Feb 2022 11:50:16 +0200 Subject: [PATCH] CS fix --- app/controllers/data_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/data_controller.rb b/app/controllers/data_controller.rb index 218de1e0..610ae047 100644 --- a/app/controllers/data_controller.rb +++ b/app/controllers/data_controller.rb @@ -62,7 +62,7 @@ class DataController < ApplicationController flash[:notice] = t 'data.import.projects_count', count: count when 'todos' count = Todo.import path_and_file, params, current_user - if ! count + if !count flash[:error] = t('data.import.errors.no_context') else flash[:notice] = t 'data.import.todos_count', count: count