More accessible, still not good environment based settings

This commit is contained in:
2025-09-20 18:06:18 -05:00
parent e04400d1df
commit 54f86078f5
5 changed files with 14 additions and 15 deletions
+1 -5
View File
@@ -1,10 +1,6 @@
class SupplierController < Suppliers::ApplicationController
def home
if Rails.env.development?
redirect_to "https://localhost:4202/supplier/#{params[:other]}"
else
redirect_to "https://supplier.mozo.bar/supplier/#{params[:other]}"
end
redirect_to "#{Mozo.supplier_url}/#{params[:other]}"
end
=begin
# GET /suppliers/1/active_orders