Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
a551758d
Commit
a551758d
authored
Nov 07, 2018
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove methods already provided by presenters
parent
8b805d93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
app/helpers/clusters_helper.rb
app/helpers/clusters_helper.rb
+0
-8
No files found.
app/helpers/clusters_helper.rb
View file @
a551758d
...
@@ -6,14 +6,6 @@ module ClustersHelper
...
@@ -6,14 +6,6 @@ module ClustersHelper
false
false
end
end
def
clusterable
@project
||
@group
end
def
can_create_cluster?
can?
(
current_user
,
:create_cluster
,
clusterable
)
end
def
render_gcp_signup_offer
def
render_gcp_signup_offer
return
if
Gitlab
::
CurrentSettings
.
current_application_settings
.
hide_third_party_offers?
return
if
Gitlab
::
CurrentSettings
.
current_application_settings
.
hide_third_party_offers?
return
unless
show_gcp_signup_offer?
return
unless
show_gcp_signup_offer?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment