Sha256: 247bb2ce4c501b51544e7ede52f0c35c4b27443277bc069cc73690f7462e6b7d

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

class Settings < Settingslogic
  def self.load_files
    files = Dir["#{Rails.root}/config/settings/**/*.yml"] - Dir["#{Rails.root}/config/settings/beerify/**/*.yml"]

    Dir["#{Rails.root}/config/settings/beerify/**/*.yml"] + files
  end

  source load_files
  namespace Rails.env
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beerify-0.1.3 app/models/settings.rb
beerify-0.1.2 app/models/settings.rb
beerify-0.1.1 app/models/settings.rb
beerify-0.1.0 app/models/settings.rb