From 914f97310815365f083a38b02d8dbf6c99b63b5f Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Fri, 17 Jun 2016 18:31:37 +0100 Subject: Removed update method Re-structured controller spec Renamed issuable param to issuable_id --- app/assets/javascripts/right_sidebar.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts/right_sidebar.js.coffee') diff --git a/app/assets/javascripts/right_sidebar.js.coffee b/app/assets/javascripts/right_sidebar.js.coffee index be4e0dcaaf7..12340bbce54 100644 --- a/app/assets/javascripts/right_sidebar.js.coffee +++ b/app/assets/javascripts/right_sidebar.js.coffee @@ -63,7 +63,7 @@ class @Sidebar type: ajaxType dataType: 'json' data: - issuable_id: $this.data('issuable') + issuable_id: $this.data('issuable-id') issuable_type: $this.data('issuable-type') beforeSend: => @beforeTodoSend($this, $todoLoading) -- cgit v1.2.1