mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Add the # frozen_string_literal: true magic comment to config/initializers/secret_token.rb (#37682).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21830 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f5b4ac7064
commit
40774c2cf4
@ -5,6 +5,8 @@ file 'config/initializers/secret_token.rb' do
|
||||
secret = SecureRandom.hex(40)
|
||||
File.open(path, 'w') do |f|
|
||||
f.write <<"EOF"
|
||||
# frozen_string_literal: true
|
||||
|
||||
# This file was generated by 'rake generate_secret_token', and should
|
||||
# not be made visible to public.
|
||||
# If you have a load-balancing Redmine cluster, you will need to use the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user