Sha256: 893f11645f282ac5404577728eb6835face31bff26f952d154973000f405c7bd

Contents?: true

Size: 276 Bytes

Versions: 8

Compression:

Stored size: 276 Bytes

Contents

module Librails
  class Engine < ::Rails::Engine
    isolate_namespace Librails
    initializer "librails.view_helper" do |app|
      ActiveSupport.on_load :action_view do
        require 'librails/view_helper'
        include Librails::ViewHelper
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
librails-0.0.9 lib/librails/engine.rb
librails-0.0.8 lib/librails/engine.rb
librails-0.0.7 lib/librails/engine.rb
librails-0.0.6 lib/librails/engine.rb
librails-0.0.5 lib/librails/engine.rb
librails-0.0.4 lib/librails/engine.rb
librails-0.0.3 lib/librails/engine.rb
librails-0.0.2 lib/librails/engine.rb