Sha256: 1e4292c1fd9793f50512b7a696f81c54dd1265286edab12d7abd1d50bcc3e2b5

Contents?: true

Size: 340 Bytes

Versions: 9

Compression:

Stored size: 340 Bytes

Contents

require 'mindapp'
require 'mindapp/helpers'

module Mindapp
  require 'rails'
  class Railtie < Rails::Railtie
    initializer "testing" do |app|
      ActionController::Base.send :include, Mindapp::Helpers
    end
    rake_tasks do
      load "tasks/mindapp.rake"
    end
  end
end

module ApplicationHelper
  include Mindapp::Helpers
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mindapp2-0.1.0 lib/mindapp/railtie.rb
mindapp-0.0.8 lib/mindapp/railtie.rb
mindapp-0.0.7 lib/mindapp/railtie.rb
mindapp-0.0.6 lib/mindapp/railtie.rb
mindapp-0.0.5 lib/mindapp/railtie.rb
mindapp-0.0.4 lib/mindapp/railtie.rb
mindapp-0.0.3 lib/mindapp/railtie.rb
mindapp-0.0.2 lib/mindapp/railtie.rb
mindapp-0.0.1 lib/mindapp/railtie.rb