Skip to content
Snippets Groups Projects
Unverified Commit 073f72cf authored by Robert Speicher's avatar Robert Speicher
Browse files

Add Namespace#feature_available no-op

This gets overridden in `EE::Namespace` and allows us to do things like
always treat Epics as "disabled" in Core using the same checks we'd use
elsewhere.
parent f69232d5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -263,6 +263,11 @@ class Namespace < ApplicationRecord
false
end
 
# Overridden in EE::Namespace
def feature_available?(_feature)
false
end
def full_path_before_last_save
if parent_id_before_last_save.nil?
path_before_last_save
Loading
Loading
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