Skip to content

Commit

Permalink
fix local_env detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvilleneuve committed Oct 2, 2024
1 parent f43a83d commit 6567c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/environments_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def demo_env?
end

def local_env?
ENV["HOST"].include?("local")
Rails.env.development?
end
end

0 comments on commit 6567c9a

Please sign in to comment.