Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 329 Bytes
Mime::Type.register_alias "text/yaml", :yml
will_paginate = File.join(File.dirname(__FILE__), 'vendor/plugins/will_paginate')
$: << File.join(will_paginate, 'lib')
require File.join(will_paginate, 'init')
$KCODE = 'UTF8'
begin
require 'ya2yaml'
rescue LoadError => e
Rails.logger.debug "[Tolk] Could not load ya2yaml"
end