Commit 49351d24 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Enable packages feature by default for new projects

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent e5dfba71
...@@ -82,6 +82,8 @@ module EE ...@@ -82,6 +82,8 @@ module EE
validates :import_url, presence: true validates :import_url, presence: true
validates :mirror_user, presence: true validates :mirror_user, presence: true
end end
default_value_for :packages_enabled, true
end end
module ClassMethods module ClassMethods
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment