diff options
| author | gitlabhq <m@gitlabhq.com> | 2011-10-21 15:35:42 +0300 |
|---|---|---|
| committer | gitlabhq <m@gitlabhq.com> | 2011-10-22 14:08:03 +0300 |
| commit | b3279b9b5170a19a2aa504eae94a9a8be5908755 (patch) | |
| tree | f2a17f15baf358d66807f510a9d1dfd1e2104d94 /app/models/snippet.rb | |
| parent | d49645a01348e093b87586b3575e93233d497aea (diff) | |
| download | gitlab-ce-b3279b9b5170a19a2aa504eae94a9a8be5908755.tar.gz | |
moved from albino -> pygments.rb
Diffstat (limited to 'app/models/snippet.rb')
| -rw-r--r-- | app/models/snippet.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 119b69a4525..95d6a07d545 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -32,8 +32,7 @@ class Snippet < ActiveRecord::Base end def colorize - ft = handle_file_type(file_name) - Albino.colorize(content, ft, :html, 'utf-8', "linenos=True") + system_colorize(content, file_name) end end # == Schema Information |
