Commit 3f5187ad authored by Roger Meier's avatar Roger Meier

Fix example within file_hooks documentation

Closes #217984
parent dfdfb82d
---
title: Fix example within file_hooks documentation
merge_request: 40071
author: Roger Meier
type: fixed
......@@ -71,9 +71,9 @@ Below is an example that will only response on the event `project_create` and
will inform the admins from the GitLab instance that a new project has been created.
```ruby
#!/opt/gitlab/embedded/bin/ruby
# By using the embedded ruby version we eliminate the possibility that our chosen language
# would be unavailable from
#!/opt/gitlab/embedded/bin/ruby
require 'json'
require 'mail'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment