Commit 8bd48b0e authored by Lin Jen-Shin's avatar Lin Jen-Shin

Explicitly give `override`. Details:

`EE::Project#feature_available?` will override
`Featurable::feature_available?`. This is bizarre but can't easily
change it for now.
parent f3d635d3
......@@ -312,6 +312,7 @@ module EE
::Feature.enabled?(:repository_push_audit_event, self)
end
override :feature_available?
def feature_available?(feature, user = nil)
if ::ProjectFeature::FEATURES.include?(feature)
super
......
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