Better fix for encoding problems on rendering of inline file visualizations like README files.

This commit is contained in:
Gabriel Mazetto 2012-05-26 15:22:47 -03:00
parent eb5749ed39
commit 39def0dcbb
3 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,6 @@
# Patch Strings to enable detect_encoding! on views
require 'charlock_holmes/string'
module Gitlabhq
module Encode
extend self