moved from albino -> pygments.rb

This commit is contained in:
gitlabhq 2011-10-21 15:35:42 +03:00
parent d49645a013
commit b3279b9b51
7 changed files with 21 additions and 17 deletions

View file

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