license update, base controllers extends app controller

This commit is contained in:
Yan
2018-02-21 16:42:19 +06:30
parent 3d6da8fc66
commit 4552a4a9ac
6 changed files with 6 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
class BaseCrmController < ActionController::Base class BaseCrmController < ApplicationController
include LicenseVerification
layout "CRM" layout "CRM"
#before_action :check_installation #before_action :check_installation

View File

@@ -1,5 +1,4 @@
class BaseInventoryController < ActionController::Base class BaseInventoryController < ApplicationController
include LicenseVerification
layout "inventory" layout "inventory"
#before_action :check_installation #before_action :check_installation

View File

@@ -1,5 +1,4 @@
class BaseOqsController < ActionController::Base class BaseOqsController < ApplicationController
include LicenseVerification
layout "OQS" layout "OQS"
#before_action :check_installation #before_action :check_installation

View File

@@ -1,5 +1,4 @@
class BaseOrigamiController < ActionController::Base class BaseOrigamiController < ApplicationController
include LicenseVerification
layout "origami" layout "origami"
# before_action :checkin_process # before_action :checkin_process

View File

@@ -1,5 +1,4 @@
class BaseReportController < ActionController::Base class BaseReportController < ApplicationController
include LicenseVerification
layout "application" layout "application"
#before_action :check_installation #before_action :check_installation

View File

@@ -1,9 +1,6 @@
class BaseWaiterController < ActionController::Base class BaseWaiterController < ApplicationController
include LicenseVerification
layout "waiter" layout "waiter"
#before_action :check_installation #before_action :check_installation
protect_from_forgery with: :exception protect_from_forgery with: :exception
end end