Add commit to the Banzai::post_process context
This commit is contained in:
parent
af114f1280
commit
5473f3dcd6
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue