update login_verification

This commit is contained in:
Thein Lin Kyaw
2020-01-13 16:41:09 +06:30
parent 3088aa3016
commit 98d88218f2
2 changed files with 3 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ module LoginVerification
extend ActiveSupport::Concern extend ActiveSupport::Concern
included do included do
before_action :authenticate_session_token before_action :authenticate_session_token
helper_method :current_company, :current_shop, :current_login_employee, :current_user, :get_cashier, :order_reservation, :bank_integration, :shop_detail helper_method :current_company, :current_login_employee, :current_user, :get_cashier, :order_reservation, :bank_integration, :shop_detail
end end
#this is base api base controller to need to inherit. #this is base api base controller to need to inherit.

View File

@@ -2,7 +2,6 @@ class Shop < ApplicationRecord
#ShopDetail = Shop.current_shop #ShopDetail = Shop.current_shop
# Shop Image Uploader # Shop Image Uploader
mount_uploader :logo, ShopImageUploader mount_uploader :logo, ShopImageUploader
has_many :display_images has_many :display_images