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
Léo-Paul Géneau
gitlab-ce
Commits
af7eb13c
Commit
af7eb13c
authored
Feb 19, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prep backend for /billings gold trial callouts
Ports GoldTrialUserCallouts to CE.
parent
bc4ee49e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
app/helpers/user_callouts_helper.rb
app/helpers/user_callouts_helper.rb
+3
-0
No files found.
app/helpers/user_callouts_helper.rb
View file @
af7eb13c
...
@@ -17,6 +17,9 @@ module UserCalloutsHelper
...
@@ -17,6 +17,9 @@ module UserCalloutsHelper
render
'shared/flash_user_callout'
,
flash_type:
flash_type
,
message:
message
,
feature_name:
feature_name
render
'shared/flash_user_callout'
,
flash_type:
flash_type
,
message:
message
,
feature_name:
feature_name
end
end
def
render_dashboard_gold_trial
(
user
)
end
private
private
def
user_dismissed?
(
feature_name
)
def
user_dismissed?
(
feature_name
)
...
...
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