mirror of
https://github.com/Relintai/pandemonium_cms.git
synced 2024-11-14 09:37:19 +01:00
Send 404 if a WebPageEntry can't edit.
This commit is contained in:
parent
57fcc78150
commit
8d082d1438
@ -20,7 +20,7 @@ func handle_edit(request : WebServerRequest) -> void:
|
|||||||
_handle_edit(request)
|
_handle_edit(request)
|
||||||
|
|
||||||
func _handle_edit(request : WebServerRequest) -> void:
|
func _handle_edit(request : WebServerRequest) -> void:
|
||||||
return
|
request.send_error(404)
|
||||||
|
|
||||||
func render_edit_bar(request : WebServerRequest) -> void:
|
func render_edit_bar(request : WebServerRequest) -> void:
|
||||||
_render_edit_bar(request)
|
_render_edit_bar(request)
|
||||||
|
Loading…
Reference in New Issue
Block a user