diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-09-02 11:15:15 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-09-03 02:29:57 +0300 |
commit | 1894c6ebe83981d1a6d4dfdc4cb551c2184966c7 (patch) | |
tree | bb56c495808370f67231a82d37d6668f4fe7e014 /app | |
parent | e6fb109d459d9aed8401df5faab4f7c91f8f3429 (diff) |
Add facade which will always return nil in CE
This method will be overridden in EE
Diffstat (limited to 'app')
-rw-r--r-- | app/presenters/clusterable_presenter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/presenters/clusterable_presenter.rb b/app/presenters/clusterable_presenter.rb index fff6d23efdf..d1bf0344b66 100644 --- a/app/presenters/clusterable_presenter.rb +++ b/app/presenters/clusterable_presenter.rb @@ -53,6 +53,11 @@ class ClusterablePresenter < Gitlab::View::Presenter::Delegated raise NotImplementedError end + # Will be overidden in EE + def environments_cluster_path(cluster) + nil + end + def empty_state_help_text nil end |