Skip to content
Snippets Groups Projects
Commit 52685fea authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Rename `prepend_if_ee` to `prepend_mod_with`

parent 7abddce6
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
Loading
Loading
@@ -9,4 +9,4 @@ class Admin::ApplicationController < ApplicationController
layout 'admin'
end
 
Admin::ApplicationController.prepend_if_ee('EE::Admin::ApplicationController')
Admin::ApplicationController.prepend_mod_with('EE::Admin::ApplicationController')
Loading
Loading
@@ -292,4 +292,4 @@ def valid_setting_panels
end
end
 
Admin::ApplicationSettingsController.prepend_if_ee('EE::Admin::ApplicationSettingsController')
Admin::ApplicationSettingsController.prepend_mod_with('EE::Admin::ApplicationSettingsController')
Loading
Loading
@@ -24,4 +24,4 @@ def stats
end
end
 
Admin::DashboardController.prepend_if_ee('EE::Admin::DashboardController')
Admin::DashboardController.prepend_mod_with('EE::Admin::DashboardController')
Loading
Loading
@@ -24,4 +24,4 @@ def should_track_devops_score?
end
end
 
Admin::DevOpsReportController.prepend_if_ee('EE::Admin::DevOpsReportController')
Admin::DevOpsReportController.prepend_mod_with('EE::Admin::DevOpsReportController')
Loading
Loading
@@ -117,4 +117,4 @@ def allowed_group_params
end
end
 
Admin::GroupsController.prepend_if_ee('EE::Admin::GroupsController')
Admin::GroupsController.prepend_mod_with('EE::Admin::GroupsController')
Loading
Loading
@@ -14,4 +14,4 @@ def checks
end
end
 
Admin::HealthCheckController.prepend_if_ee('EE::Admin::HealthCheckController')
Admin::HealthCheckController.prepend_mod_with('EE::Admin::HealthCheckController')
Loading
Loading
@@ -89,4 +89,4 @@ def group
end
end
 
Admin::ProjectsController.prepend_if_ee('EE::Admin::ProjectsController')
Admin::ProjectsController.prepend_mod_with('EE::Admin::ProjectsController')
Loading
Loading
@@ -344,4 +344,4 @@ def track_cohorts_visit
end
end
 
Admin::UsersController.prepend_if_ee('EE::Admin::UsersController')
Admin::UsersController.prepend_mod_with('EE::Admin::UsersController')
Loading
Loading
@@ -71,4 +71,4 @@ def target_branch_params
end
end
 
AutocompleteController.prepend_if_ee('EE::AutocompleteController')
AutocompleteController.prepend_mod_with('EE::AutocompleteController')
Loading
Loading
@@ -158,4 +158,4 @@ def validate_id_list
end
end
 
Boards::IssuesController.prepend_if_ee('EE::Boards::IssuesController')
Boards::IssuesController.prepend_mod_with('EE::Boards::IssuesController')
Loading
Loading
@@ -99,4 +99,4 @@ def serialization_attrs
end
end
 
Boards::ListsController.prepend_if_ee('EE::Boards::ListsController')
Boards::ListsController.prepend_mod_with('EE::Boards::ListsController')
Loading
Loading
@@ -362,4 +362,4 @@ def update_applications_status
end
end
 
Clusters::ClustersController.prepend_if_ee('EE::Clusters::ClustersController')
Clusters::ClustersController.prepend_mod_with('EE::Clusters::ClustersController')
Loading
Loading
@@ -177,4 +177,4 @@ def user_password_changed?(user)
end
end
 
AuthenticatesWithTwoFactor.prepend_if_ee('EE::AuthenticatesWithTwoFactor')
AuthenticatesWithTwoFactor.prepend_mod_with('EE::AuthenticatesWithTwoFactor')
Loading
Loading
@@ -65,4 +65,4 @@ def serialize_as_json(resource)
end
end
 
BoardsActions.prepend_if_ee('EE::BoardsActions')
BoardsActions.prepend_mod_with('EE::BoardsActions')
Loading
Loading
@@ -91,4 +91,4 @@ def serializer
end
end
 
BoardsResponses.prepend_if_ee('EE::BoardsResponses')
BoardsResponses.prepend_mod_with('EE::BoardsResponses')
Loading
Loading
@@ -43,4 +43,4 @@ def to_utc_time(field)
end
end
 
CycleAnalyticsParams.prepend_if_ee('EE::CycleAnalyticsParams')
CycleAnalyticsParams.prepend_mod_with('EE::CycleAnalyticsParams')
Loading
Loading
@@ -72,4 +72,4 @@ def two_factor_verifier
end
end
 
EnforcesTwoFactorAuthentication.prepend_if_ee('EE::EnforcesTwoFactorAuthentication')
EnforcesTwoFactorAuthentication.prepend_mod_with('EE::EnforcesTwoFactorAuthentication')
Loading
Loading
@@ -102,4 +102,4 @@ def allowed_integration_params
end
end
 
Integrations::Params.prepend_if_ee('EE::Integrations::Params')
Integrations::Params.prepend_mod_with('EE::Integrations::Params')
Loading
Loading
@@ -46,4 +46,4 @@ def referer_path(request)
end
end
 
InternalRedirect.prepend_if_ee('EE::InternalRedirect')
InternalRedirect.prepend_mod_with('EE::InternalRedirect')
Loading
Loading
@@ -259,4 +259,4 @@ def finder_params_for_issuable
# rubocop:enable Gitlab/ModuleWithInstanceVariables
end
 
IssuableActions.prepend_if_ee('EE::IssuableActions')
IssuableActions.prepend_mod_with('EE::IssuableActions')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment