update rake to shop_create

This commit is contained in:
Thein Lin Kyaw
2020-01-17 15:53:34 +06:30
parent 0e9b6f7c4b
commit 0df7357cc9
5 changed files with 80 additions and 69 deletions

View File

@@ -31,7 +31,10 @@ class ActionController::Base
end
def render_not_found
render :file => "#{Rails.root}/public/404", :layout => false, :status => :not_found
respond_to do |format|
format.html { render :file => "#{Rails.root}/public/404", :layout => false, :status => :not_found }
format.json { head :not_found }
end
end
def current_license(url)