Move supplier full pull to being an api for the ember app and handle login and authorization a little bit better (should be even a lot better in the future)
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
class SupplierController < Suppliers::ApplicationController
|
||||
def home
|
||||
if Rails.env.development?
|
||||
binding.pry
|
||||
redirecto_to "http://localhost:4202/supplier#{params[:other]}"
|
||||
else
|
||||
render html: File.read(Rails.root.join('public/supplier/index.html'))
|
||||
end
|
||||
end
|
||||
=begin
|
||||
# GET /suppliers/1/active_orders
|
||||
|
||||
Reference in New Issue
Block a user