Remove unnecessary license check in operations controller
This commit is contained in:
parent
207d31002e
commit
90311109ea
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_license
|
|
||||||
render_404 unless helpers.settings_operations_available?
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue