user role scoped layout and controller

This commit is contained in:
Min Zeya Phyo
2017-04-20 22:29:39 +06:30
parent fd52038781
commit e1e102fd15
16 changed files with 230 additions and 19 deletions

View File

@@ -0,0 +1,9 @@
class BaseCrmController < ActionController::Base
include LoginVerification
layout "CRM"
#before_action :check_installation
protect_from_forgery with: :exception
end