diff --git a/app/controllers/api/products_controller.rb b/app/controllers/api/products_controller.rb index fb50181..549e70b 100644 --- a/app/controllers/api/products_controller.rb +++ b/app/controllers/api/products_controller.rb @@ -16,4 +16,5 @@ class Api::ProductsController < ApplicationController @out=false,"Sorry!Unauthorized user!" end end + end diff --git a/app/views/api/.DS_Store b/app/views/api/.DS_Store index 8207ec3..0f8a739 100644 Binary files a/app/views/api/.DS_Store and b/app/views/api/.DS_Store differ diff --git a/db/schema.rb b/db/schema.rb index 140480b..a03cb34 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -54,9 +54,11 @@ ActiveRecord::Schema.define(version: 20170210103359) do create_table "clients", force: :cascade do |t| t.string "name", null: false + t.string "nrc" t.string "email" t.string "phone" t.string "address" + t.string "product_type" t.string "secrect_key" t.datetime "created_at", null: false t.datetime "updated_at", null: false