license update, base controllers extends app controller
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user