Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
379f4841
Commit
379f4841
authored
Sep 06, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong backport
parent
473666ab
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/controllers/boards/issues_controller.rb
app/controllers/boards/issues_controller.rb
+1
-1
ee/app/controllers/ee/boards/issues_controller.rb
ee/app/controllers/ee/boards/issues_controller.rb
+7
-1
No files found.
app/controllers/boards/issues_controller.rb
View file @
379f4841
...
@@ -63,7 +63,7 @@ module Boards
...
@@ -63,7 +63,7 @@ module Boards
end
end
def
project
def
project
@project
||=
Project
.
find
(
issue_params
[
:project_id
])
board_parent
end
end
def
move_params
def
move_params
...
...
ee/app/controllers/ee/boards/issues_controller.rb
View file @
379f4841
...
@@ -8,7 +8,13 @@ module EE
...
@@ -8,7 +8,13 @@ module EE
end
end
def
project
def
project
@project
||=
board
.
group_board?
?
super
:
board
.
parent
@project
||=
begin
if
board
.
group_board?
::
Project
.
find
(
issue_params
[
:project_id
])
else
super
end
end
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment