diff options
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/clusterable_presenter.rb | 2 | ||||
-rw-r--r-- | app/presenters/group_clusterable_presenter.rb | 2 | ||||
-rw-r--r-- | app/presenters/project_clusterable_presenter.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/presenters/clusterable_presenter.rb b/app/presenters/clusterable_presenter.rb index 9cc93d7f0c6..6de967a58e9 100644 --- a/app/presenters/clusterable_presenter.rb +++ b/app/presenters/clusterable_presenter.rb @@ -44,7 +44,7 @@ class ClusterablePresenter < Gitlab::View::Presenter::Delegated raise NotImplementedError end - def is_project? + def project? raise NotImplementedError end end diff --git a/app/presenters/group_clusterable_presenter.rb b/app/presenters/group_clusterable_presenter.rb index 5a893559f12..6da4dbfeaa4 100644 --- a/app/presenters/group_clusterable_presenter.rb +++ b/app/presenters/group_clusterable_presenter.rb @@ -13,7 +13,7 @@ class GroupClusterablePresenter < ClusterablePresenter group_cluster_path(clusterable, cluster, params) end - def is_project? + def project? false end end diff --git a/app/presenters/project_clusterable_presenter.rb b/app/presenters/project_clusterable_presenter.rb index 4b74c9beb95..2aea31e8bbf 100644 --- a/app/presenters/project_clusterable_presenter.rb +++ b/app/presenters/project_clusterable_presenter.rb @@ -13,7 +13,7 @@ class ProjectClusterablePresenter < ClusterablePresenter project_cluster_path(clusterable, cluster, params) end - def is_project? + def project? true end end |