lib/kanji/templates/system/project/settings.rb.tt in kanji-web-0.2.2 vs lib/kanji/templates/system/project/settings.rb.tt in kanji-web-0.3.0
- old
+ new
@@ -2,7 +2,8 @@
require "kanji/types"
module <%= config[:camel_cased_app_name] %>
class Settings < Dry::Web::Settings
setting :database_url, Kanji::Types::Strict::String.constrained(filled: true)
+ setting :env, Kanji::Types::Strict::String.default("development")
end
end