-
This commit is contained in:
@@ -16,4 +16,5 @@ class Api::ProductsController < ApplicationController
|
|||||||
@out=false,"Sorry!Unauthorized user!"
|
@out=false,"Sorry!Unauthorized user!"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
BIN
app/views/api/.DS_Store
vendored
BIN
app/views/api/.DS_Store
vendored
Binary file not shown.
@@ -54,9 +54,11 @@ ActiveRecord::Schema.define(version: 20170209102414) do
|
|||||||
|
|
||||||
create_table "clients", force: :cascade do |t|
|
create_table "clients", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
|
t.string "nrc"
|
||||||
t.string "email"
|
t.string "email"
|
||||||
t.string "phone"
|
t.string "phone"
|
||||||
t.string "address"
|
t.string "address"
|
||||||
|
t.string "product_type"
|
||||||
t.string "secrect_key"
|
t.string "secrect_key"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
|
|||||||
Reference in New Issue
Block a user