employee login and authentication with session

This commit is contained in:
Min Zeya Phyo
2017-04-14 22:47:44 +06:30
parent c1e61c1a39
commit db75780267
27 changed files with 137 additions and 96 deletions

View File

@@ -1,7 +1,8 @@
class Booking < ApplicationRecord
belongs_to :dining_facility
belongs_to :dining_facility, :optional => true
belongs_to :sale, :optional => true
has_many :booking_orders
end