update login_verification
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -2,9 +2,8 @@ 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
|
|
||||||
|
|
||||||
accepts_nested_attributes_for :display_images
|
accepts_nested_attributes_for :display_images
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user