mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-18 10:09:02 +02:00
creating todos using xml/rest was broken. This fixes it
This commit is contained in:
parent
9c82e9c974
commit
9a243b015a
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ class TodosController < ApplicationController
|
||||||
@source_view = params['_source_view'] || 'todo'
|
@source_view = params['_source_view'] || 'todo'
|
||||||
@tag_name = params['_tag_name']
|
@tag_name = params['_tag_name']
|
||||||
|
|
||||||
unless params[:todo][:multiple_todos].nil?
|
is_multiple = params[:todo] && params[:todo][:multiple_todos] && !params[:todo][:multiple_todos].nil?
|
||||||
|
if is_multiple
|
||||||
create_multiple
|
create_multiple
|
||||||
else
|
else
|
||||||
p = TodoCreateParamsHelper.new(params, prefs)
|
p = TodoCreateParamsHelper.new(params, prefs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue