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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
90311109
Commit
90311109
authored
Mar 08, 2019
by
Reuben Pereira
Committed by
Kamil Trzciński
Mar 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary license check in operations controller
parent
207d3100
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
app/controllers/projects/settings/operations_controller.rb
app/controllers/projects/settings/operations_controller.rb
+0
-5
No files found.
app/controllers/projects/settings/operations_controller.rb
View file @
90311109
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
module
Projects
module
Projects
module
Settings
module
Settings
class
OperationsController
<
Projects
::
ApplicationController
class
OperationsController
<
Projects
::
ApplicationController
before_action
:check_license
before_action
:authorize_update_environment!
before_action
:authorize_update_environment!
helper_method
:error_tracking_setting
helper_method
:error_tracking_setting
...
@@ -65,10 +64,6 @@ module Projects
...
@@ -65,10 +64,6 @@ module Projects
]
]
}
}
end
end
def
check_license
render_404
unless
helpers
.
settings_operations_available?
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