Fix bug with refresh #7

Merged
bilal.catic merged 4 commits from fix-bug-with-refresh into master 2020-09-04 13:47:49 +02:00
Showing only changes of commit 20f3159dd8 - Show all commits

View File

@@ -13,5 +13,7 @@ class StaticController < ActionController::API
def frontend_static
full_path = "protected_public/#{params[:path]}.#{params[:format]}"
send_file full_path
rescue ActionController::MissingFile
render file: 'protected_public/index.html'
end
end