Commit dbf1f265 authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Add examples of `prepend_ee_mod` usage

parent 3742c587
...@@ -556,4 +556,4 @@ class ApplicationController < ActionController::Base ...@@ -556,4 +556,4 @@ class ApplicationController < ActionController::Base
end end
end end
ApplicationController.prepend_if_ee('EE::ApplicationController') ApplicationController.prepend_ee_mod
...@@ -25,4 +25,4 @@ class Vulnerability < ApplicationRecord ...@@ -25,4 +25,4 @@ class Vulnerability < ApplicationRecord
end end
end end
Vulnerability.prepend_if_ee('EE::Vulnerability') Vulnerability.prepend_ee_mod
...@@ -313,4 +313,4 @@ module API ...@@ -313,4 +313,4 @@ module API
end end
end end
API::API.prepend_if_ee('::EE::API::API') API::API.prepend_ee_mod
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