Sha256: 76bea3314ff9b317b73f581691121eb3aaad31cf0955f14204954da3dbf613f7

Contents?: true

Size: 408 Bytes

Versions: 30

Compression:

Stored size: 408 Bytes

Contents

require 'milia'
require 'rails'

module Milia
  class Railtie < Rails::Railtie
    initializer :after_initialize do
 
        ActiveRecord::Base.send(:include, Milia::Base)
        ActionController::Base.send(:include, Milia::Control)
        
        require File.dirname(__FILE__) + '/../../app/controllers/registrations_controller'
    end

    rake_tasks do
      load 'milia/tasks.rb'
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
milia-0.3.38 lib/milia/railtie.rb
milia-0.3.34 lib/milia/railtie.rb
milia-0.3.33 lib/milia/railtie.rb
milia-0.3.32 lib/milia/railtie.rb
milia-0.3.31 lib/milia/railtie.rb
milia-0.3.30 lib/milia/railtie.rb
milia-0.3.29 lib/milia/railtie.rb
milia-0.3.28 lib/milia/railtie.rb
milia-0.3.27 lib/milia/railtie.rb
milia-0.3.26 lib/milia/railtie.rb
milia-0.3.25 lib/milia/railtie.rb
milia-0.3.24 lib/milia/railtie.rb
milia-0.3.23 lib/milia/railtie.rb
milia-0.3.22 lib/milia/railtie.rb
milia-0.3.21 lib/milia/railtie.rb
milia-0.3.20 lib/milia/railtie.rb
milia-0.3.19 lib/milia/railtie.rb
milia-0.3.18 lib/milia/railtie.rb
milia-0.3.17 lib/milia/railtie.rb
milia-0.3.16 lib/milia/railtie.rb