Sha256: ce86f189de7f86f8e5c863a3b30570716586990ceb8f367b8640c879b6377e93

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

require 'autoprefixer-rails'
require 'tao_on_rails'
require 'tao_ui/components'
require 'tao_ui/action_view/helpers'

module TaoUi
  class Engine < ::Rails::Engine

    config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.{rb,yml}')]
    paths['app/views'] << 'lib/views'

    initializer "tao_ui.view_helpers" do |app|
      ::ActiveSupport.on_load :action_view do
        include TaoUi::ActionView::Helpers
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tao_ui-0.2.10 lib/tao_ui/engine.rb
tao_ui-0.2.9 lib/tao_ui/engine.rb
tao_ui-0.2.8 lib/tao_ui/engine.rb
tao_ui-0.2.7 lib/tao_ui/engine.rb