Sha256: 5743a7f7587538b0f9d5ef2f630e301b20b427e0eeccce8c3d60d5c97f8811d3

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

require 'rails'
require 'klarlack'

class Railtie < Rails::Railtie
  config.before_initialize do
    require File.expand_path('../shellac/cache', __FILE__)
    require File.expand_path('../shellac/actions', __FILE__)
  end

  config.to_prepare do
    ActionController::Base.send :extend, Shellac::Actions
    ActionController::Base.send :include, Shellac::Actions
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shellac-0.0.3.rc2 lib/shellac.rb
shellac-0.0.2.4 lib/shellac.rb
shellac-0.0.2.3 lib/shellac.rb