diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-07 00:28:06 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-14 18:12:21 +0300 |
commit | 794425456322864f37dbd862aca9bc6b6447591a (patch) | |
tree | e04869a293f434756527fcdf80505bcde12bc3f6 /app/models/diff_viewer/rich.rb | |
parent | 64e85fdaffcd03ef52ff74953b1a4e0caf5a23e8 (diff) |
Implement diff viewers
Diffstat (limited to 'app/models/diff_viewer/rich.rb')
-rw-r--r-- | app/models/diff_viewer/rich.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/models/diff_viewer/rich.rb b/app/models/diff_viewer/rich.rb new file mode 100644 index 00000000000..3b0ca6e4cff --- /dev/null +++ b/app/models/diff_viewer/rich.rb @@ -0,0 +1,11 @@ +module DiffViewer + module Rich + extend ActiveSupport::Concern + + included do + self.type = :rich + self.switcher_icon = 'file-text-o' + self.switcher_title = 'rendered diff' + end + end +end |