Skip to content

Commit

Permalink
fix default_hashtag process 2
Browse files Browse the repository at this point in the history
  • Loading branch information
guskma committed Oct 9, 2023
1 parent 3515a44 commit 562cbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/default_hashtag.rb
Expand Up @@ -2,5 +2,5 @@

Rails.application.configure do
config.x.default_hashtag = ENV['DEFAULT_HASHTAG']
config.x.default_hashtag_id = Tag.find_by(name: ENV['DEFAULT_HASHTAG'].downcase)
config.x.default_hashtag_id = !(ENV['KEYWORD_HASHTAG_VISIBILITY'].==('none'))
end

0 comments on commit 562cbbc

Please sign in to comment.