Sha256: f68231ae1677731542d8115d8568659d1436c93e6467243c62eb5009bb416ee7

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

module Mongoid
  module Preferences

    require 'mongoid/preferences/preferenceable'
    require 'mongoid/preferences/version'

    include ActiveSupport::Configurable

    config_accessor :model_preferences_path do
      # default model preferences path
      Rails.root.join('app','models_preferences')
    end


    #Mongoid::Preferences.configure do |config|
    #  # set default preferences path
    #  config.model_preferences_path = Rails.root.join('app','models_preferences')
    #end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-preferences-0.0.1 lib/mongoid/preferences.rb