Sha256: 019f399c584d1f3f32d7603918ce369b39eceb16b26bcfc6452eebfdbcfdf48a

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

require "action_view/template_handlers/tex"

module Latexpdf
  class Railtie < Rails::Railtie
    config.to_prepare do
      ActionView::Template.register_template_handler :tex, ActionView::Template::Handlers::Tex
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
latexpdf-0.4.2 lib/latexpdf/railtie.rb
latexpdf-0.4.1 lib/latexpdf/railtie.rb