Sha256: e5904cfe965d6624801e7bf7e4924933fcbc59cbafaf91aa721903a8506a0052

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 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
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shellac-0.0.2 lib/shellac.rb