Infrastructure connection updates
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
class SupplierController < Suppliers::ApplicationController
|
||||
def home
|
||||
if Rails.env.development?
|
||||
binding.pry
|
||||
redirecto_to "http://localhost:4202/supplier#{params[:other]}"
|
||||
redirect_to "http://localhost:4202/supplier/#{params[:other]}"
|
||||
else
|
||||
render html: File.read(Rails.root.join('public/supplier/index.html'))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user