Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-16 00:39:26 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-08-17 18:58:59 +0300
commit8e4e294a7cc8725869964cf56842124aec54ca12 (patch)
treed5acdaf8f25bd7e7d2420c152ba15964cae13ac3 /app/services/boards
parent01b9744d1eb2bf9af80758ed5e112171b1b7f2b0 (diff)
Rename from/to params to from_list_id/to_list_id
Diffstat (limited to 'app/services/boards')
-rw-r--r--app/services/boards/issues/move_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/boards/issues/move_service.rb b/app/services/boards/issues/move_service.rb
index 381bd95c837..7455314450b 100644
--- a/app/services/boards/issues/move_service.rb
+++ b/app/services/boards/issues/move_service.rb
@@ -23,11 +23,11 @@ module Boards
end
def moving_from
- @moving_from ||= board.lists.find_by(id: params[:from])
+ @moving_from ||= board.lists.find_by(id: params[:from_list_id])
end
def moving_to
- @moving_to ||= board.lists.find_by(id: params[:to])
+ @moving_to ||= board.lists.find_by(id: params[:to_list_id])
end
def close_service