Lfs on by default.

This commit is contained in:
Marin Jankovski 2015-11-18 11:06:12 +01:00
parent bf3c0aafaa
commit 060e59f054
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ production: &base
## Git LFS
lfs:
enabled: false
enabled: true
# The location where LFS objects are stored (default: shared/lfs-objects).
# storage_path: shared/lfs-objects

View file

@ -203,7 +203,7 @@ Settings.incoming_email['mailbox'] = "inbox" if Settings.incoming_email['mail
# Git LFS
#
Settings['lfs'] ||= Settingslogic.new({})
Settings.lfs['enabled'] = false if Settings.lfs['enabled'].nil?
Settings.lfs['enabled'] = true if Settings.lfs['enabled'].nil?
Settings.lfs['storage_path'] = File.expand_path(Settings.lfs['storage_path'] || File.join(Settings.shared['path'], "lfs-objects"), Rails.root)
#