Add commit to the Banzai::post_process context

This commit is contained in:
Toon Claes 2017-04-24 12:36:59 +02:00
parent af114f1280
commit 5473f3dcd6
1 changed files with 3 additions and 2 deletions

View File

@ -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)