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,3 +1,6 @@
class DiningFacility < ApplicationRecord
belongs_to :zone
scope :active, -> {where(is_active: true)}
end