update install controller skip set current tenant

This commit is contained in:
Thein Lin Kyaw
2020-01-21 09:56:51 +06:30
parent 0a5aff4c94
commit d054776357
2 changed files with 18 additions and 30 deletions

View File

@@ -26,11 +26,11 @@ class ActionController::Base
redirect_to activate_path
end
else
render_not_found
not_found
end
end
def render_not_found
def not_found
respond_to do |format|
format.html { render :file => "#{Rails.root}/public/404", :layout => false, :status => :not_found }
format.json { head :not_found }