mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
CS fix
This commit is contained in:
parent
511a4a23b6
commit
dfdab8af55
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue