Fix json rendering error

This commit is contained in:
Thein Lin Kyaw
2019-12-03 19:37:59 +06:30
parent c8c39b0636
commit 37380f6bfb
10 changed files with 32 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
class ApplicationController < ActionController::Base
include LoginVerification, MultiTenancy
include MultiTenancy
include LoginVerification
#before_action :check_installation
protect_from_forgery with: :exception
@@ -17,5 +18,4 @@ class ApplicationController < ActionController::Base
flash[:warning] = exception.message
redirect_to root_path
end
end