Skip to content

Commit 4ba238c

Browse files
committed
Change: hardcode salt in initializer so it passes travis.
This is overwritten with the configured value when it is actually evaluated
1 parent 942620a commit 4ba238c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/hash_id.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Hashid::Rails.configure do |config|
22
# The salt to use for generating hashid. Prepended with table name.
3-
config.salt = AppSettings['settings.anonymous_salt']
3+
config.salt = 'salt'
44

55
# The minimum length of generated hashids
66
config.min_hash_length = 12

0 commit comments

Comments
 (0)