mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +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
|
flash[:notice] = t 'data.import.projects_count', count: count
|
||||||
when 'todos'
|
when 'todos'
|
||||||
count = Todo.import path_and_file, params, current_user
|
count = Todo.import path_and_file, params, current_user
|
||||||
if ! count
|
if !count
|
||||||
flash[:error] = t('data.import.errors.no_context')
|
flash[:error] = t('data.import.errors.no_context')
|
||||||
else
|
else
|
||||||
flash[:notice] = t 'data.import.todos_count', count: count
|
flash[:notice] = t 'data.import.todos_count', count: count
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue