add new file

This commit is contained in:
Sunandar
2017-02-06 18:32:22 +06:30
parent 90eeb2ea1c
commit 5c78a2ca8a
13 changed files with 54 additions and 120 deletions

View File

@@ -14,7 +14,7 @@ Rails.application.routes.draw do
#users
get 'check_registered_email' => "users#check_registered_email"
#Encoder
match 'batch_line_items/export' => 'batch_line_items#export', :as => 'export', :via => :post
match 'batch_line_items/export' => 'batch_line_items#export', :as => 'export', :via => [:post ,:get]
get 'get_batch' => 'batch_line_items#get_batch',:as => 'get_batch'
namespace :api, defaults: {format: :json} do