BigW Consortium Gitlab

Commit 5473f3dc by Toon Claes

Add commit to the Banzai::post_process context

parent af114f12
...@@ -233,9 +233,10 @@ module MarkupHelper ...@@ -233,9 +233,10 @@ module MarkupHelper
current_user: (current_user if defined?(current_user)), current_user: (current_user if defined?(current_user)),
# RelativeLinkFilter # RelativeLinkFilter
requested_path: @path, commit: @commit,
project_wiki: @project_wiki, project_wiki: @project_wiki,
ref: @ref ref: @ref,
requested_path: @path
) )
Banzai.post_process(html, context) Banzai.post_process(html, context)
......
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