edit api
This commit is contained in:
@@ -15,7 +15,8 @@ Rails.application.routes.draw do
|
||||
get 'check_registered_email' => "users#check_registered_email"
|
||||
#Encoder
|
||||
match 'batch_line_items/export' => 'batch_line_items#export', :as => 'export', :via => :post
|
||||
|
||||
|
||||
get 'get_batch' => 'batch_line_items#get_batch',:as => 'get_batch'
|
||||
namespace :api, defaults: {format: :json} do
|
||||
#login
|
||||
post "auth/login" =>"auth#login"
|
||||
@@ -31,6 +32,6 @@ Rails.application.routes.draw do
|
||||
get "batches/batch_progress_list" =>"batches#batch_progress_list"
|
||||
|
||||
#client
|
||||
get "clients/list" => 'clients#index'
|
||||
get "clients" => 'clients#index'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user