add action base and update base ctrls

This commit is contained in:
Yan
2018-02-26 17:42:54 +06:30
parent 07e208a457
commit 13b7b1f800
9 changed files with 100 additions and 23 deletions

View File

@@ -2,7 +2,7 @@ module LoginVerification
extend ActiveSupport::Concern
included do
before_action :authenticate_session_token
before_action :authenticate
helper_method :current_company,:current_login_employee
end