Commit 95ed2c38 authored by Kamil Trzciński's avatar Kamil Trzciński

Revert unneeded changes

parent ec383872
......@@ -15,7 +15,6 @@ class ProjectPolicy < BasePolicy
note
pipeline
pipeline_schedule
feature_flags
build
trigger
environment
......@@ -307,7 +306,6 @@ class ProjectPolicy < BasePolicy
prevent(*create_read_update_admin_destroy(:build))
prevent(*create_read_update_admin_destroy(:pipeline_schedule))
prevent(*create_read_update_admin_destroy(:environment))
prevent(*create_read_update_admin_destroy(:feature_flags))
prevent(*create_read_update_admin_destroy(:cluster))
prevent(*create_read_update_admin_destroy(:deployment))
end
......
......@@ -196,7 +196,7 @@
- if project_nav_tab? :operations
= nav_link(controller: [:environments, :clusters, :user, :gcp, :feature_flags]) do
= link_to project_environments_path(@project), class: 'shortcuts-operations' do
= link_to metrics_project_environments_path(@project), class: 'shortcuts-operations' do
.nav-icon-container
= sprite_icon('cloud-gear')
%span.nav-item-name
......@@ -204,7 +204,7 @@
%ul.sidebar-sub-level-items
= nav_link(controller: [:environments, :clusters, :user, :gcp, :feature_flags], html_options: { class: "fly-out-top-item" } ) do
= link_to project_environments_path(@project) do
= link_to metrics_project_environments_path(@project) do
%strong.fly-out-top-item-name
= _('Operations')
%li.divider.fly-out-top-item
......
......@@ -8,6 +8,7 @@ module EE
approvers
vulnerability_feedback
license_management
feature_flag
].freeze
prepended do
......
......@@ -166,7 +166,7 @@ module API
## EE-specific API V4 endpoints START
mount ::EE::API::Boards
mount ::EE::API::GroupBoards
mount ::API::Unleash
mount ::API::EpicIssues
mount ::API::Epics
......
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