Skip to content

Commit

Permalink
SubdomainsHelper handles staging
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed Mar 25, 2024
1 parent 3b64df4 commit ddfcb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/subdomains_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def app_subdomain
case Rails.env
when 'development', 'test'
host.split('.').first
when 'sandbox'
when 'sandbox', 'staging'
host.split('.')[1]
when 'production'
top_level, second_level = host.split('.')[0..1]
Expand Down

0 comments on commit ddfcb9e

Please sign in to comment.