- authentication fix

- demo helper
This commit is contained in:
Peter Papp
2021-03-17 07:34:22 +01:00
parent 2c69553582
commit ce477fdaf1
13 changed files with 47 additions and 11653 deletions

View File

@@ -51,7 +51,7 @@ class PagesController extends Controller
*/
public function update(Request $request, Page $page)
{
if (env('APP_DEMO')) {
if (is_demo()) {
return $this->demo->response_with_no_content();
}