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
include LicenseVerification
class BaseCrmController < ApplicationController
layout "CRM"
#before_action :check_installation

View File

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

View File

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

View File

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

View File

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

View File

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