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
0048fbed
Commit
0048fbed
authored
Aug 10, 2017
by
Mehdi Lahmam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused `redirect_to_external_issue_tracker` method
Its usage has been removed at
2fa22a07
.
parent
2925850c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+0
-12
No files found.
app/controllers/projects/issues_controller.rb
View file @
0048fbed
...
@@ -257,18 +257,6 @@ class Projects::IssuesController < Projects::ApplicationController
...
@@ -257,18 +257,6 @@ class Projects::IssuesController < Projects::ApplicationController
return
render_404
unless
@project
.
feature_available?
(
:issues
,
current_user
)
return
render_404
unless
@project
.
feature_available?
(
:issues
,
current_user
)
end
end
def
redirect_to_external_issue_tracker
external
=
@project
.
external_issue_tracker
return
unless
external
if
action_name
==
'new'
redirect_to
external
.
new_issue_path
else
redirect_to
external
.
issue_tracker_path
end
end
def
issue_params
def
issue_params
params
.
require
(
:issue
).
permit
(
*
issue_params_attributes
)
params
.
require
(
:issue
).
permit
(
*
issue_params_attributes
)
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