Sha256: a7820fd0d2f537284b4dbe6fe2052050065acdf767343ea5106a8c5621910b47

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

require 'angular/html2js'
require 'rails'

module Angular
  module Html2js
    class Railtie < Rails::Railtie
      railtie_name :angular_html2js

      config.before_configuration do
        config.angular_html2js = Angular::Html2js.config
      end

      initializer "angular_html2js.init_sprockets" do |app|
        config.angular_html2js.init_sprockets
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
angular-html2js-0.0.4 lib/angular/html2js/railtie.rb
angular-html2js-0.0.3 lib/angular/html2js/railtie.rb