Sha256: 59c1a21ed78907a5df8ede9d9a42c540d0c5bc3bad7242c84e3fd8614272360f

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true

# Cookbook Module
module Cookbook
  require 'active_record/railtie'
  require 'action_controller/railtie'
  require 'action_view/railtie'
  require 'sprockets/railtie'

  require 'cookbook/configuration'
  require 'cookbook/engine'
  require 'cookbook/railtie'
  require 'cookbook/version'

  require 'cookbook/mixins/acts_as_used_in'
  require 'cookbook/mixins/acts_as_use_of'
  require 'cookbook/extensions/float'

  require 'haml-rails'
  require 'sass-rails'
  require 'simple_form'
  require 'cancancan' if Cookbook.configuration.authorize_with == :cancancan
end

ActiveRecord::Base.extend Cookbook::Mixins::ActsAsUsedIn
ActiveRecord::Base.extend Cookbook::Mixins::ActsAsUseOf

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cookbook-0.1.6 lib/cookbook.rb