add new api

This commit is contained in:
Sunandar
2017-02-03 17:56:27 +06:30
parent b4c9e8cc8e
commit 538c898e06
12 changed files with 117 additions and 75 deletions

View File

@@ -1,6 +1,7 @@
Rails.application.routes.draw do
resources :clients
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root :to => 'home#index'
get "dashboard", to: "home#dashboard", as: "dashboard"
@@ -28,5 +29,8 @@ Rails.application.routes.draw do
post "batches/end" => "batches#batch_end"
get "batches/resume_batch" =>"batches#resume_batch"
get "batches/batch_progress_list" =>"batches#batch_progress_list"
#client
get "clients/list" => 'clients#index'
end
end