initial commit from appmail

This commit is contained in:
Adam Cooke committed 2017-04-19 13:07:25 +01:00
1 parent a3eff53792
commit 2fdba0ceb5
474 files changed
+51228

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
if Postal.config.rails&.secret_key
Rails.application.secrets.secret_key_base = Postal.config.rails.secret_key
else
$stderr.puts "No secret key was specified in the Postal config file. Using one for just this session"
Rails.application.secrets.secret_key_base = SecureRandom.hex(128)
end