Remove useless assignment to variables board and list

parent 2db73103
...@@ -16,9 +16,6 @@ module Projects ...@@ -16,9 +16,6 @@ module Projects
end end
def create def create
board = project.boards.find(params[:board_id])
list = board.lists.find(params[:list_id])
service = ::Boards::Issues::CreateService.new(project, current_user, issue_params) service = ::Boards::Issues::CreateService.new(project, current_user, issue_params)
issue = service.execute issue = service.execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment