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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
81560ab2
Commit
81560ab2
authored
Sep 14, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build triggers URL and slack notifications
parent
d0019456
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/helpers/ci/routes_helper.rb
app/helpers/ci/routes_helper.rb
+2
-2
app/helpers/ci/triggers_helper.rb
app/helpers/ci/triggers_helper.rb
+1
-1
No files found.
app/helpers/ci/routes_helper.rb
View file @
81560ab2
...
...
@@ -13,11 +13,11 @@ module Ci
end
def
url_helpers
@url_helpers
||=
Ci
::
Base
.
new
@url_helpers
||=
Base
.
new
end
def
self
.
method_missing
(
method
,
*
args
,
&
block
)
@url_helpers
||=
Ci
::
Base
.
new
@url_helpers
||=
Base
.
new
if
@url_helpers
.
respond_to?
(
method
)
@url_helpers
.
send
(
method
,
*
args
,
&
block
)
...
...
app/helpers/ci/triggers_helper.rb
View file @
81560ab2
module
Ci
module
TriggersHelper
def
build_trigger_url
(
project_id
,
ref_name
)
def
ci_
build_trigger_url
(
project_id
,
ref_name
)
"
#{
Settings
.
gitlab_ci
.
url
}
/ci/api/v1/projects/
#{
project_id
}
/refs/
#{
ref_name
}
/trigger"
end
end
...
...
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