diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-08-23 14:10:36 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-09-06 16:26:09 +0300 |
commit | dd7434e398d26e5f4c92f73dce4bcf9b7e47e193 (patch) | |
tree | d44b49920b535cdd1ee3ee612f18a3b2f6a1e327 /lib | |
parent | b97f9629cabadca1125351a8aa514791524dea3f (diff) |
Adds CommitDescriptionRenderer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/commit_description_renderer.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/banzai/commit_description_renderer.rb b/lib/banzai/commit_description_renderer.rb new file mode 100644 index 00000000000..9600ab918a4 --- /dev/null +++ b/lib/banzai/commit_description_renderer.rb @@ -0,0 +1,7 @@ +module Banzai + module CommitDescriptionRenderer + def self.render(commit_descriptions, project, user = nil) + ObjectRenderer.new(project, user).render(commit_descriptions, :commit_description) + end + end +end |