You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/1_docs/2_getting-started/3_configuration.md
-25
Original file line number
Diff line number
Diff line change
@@ -79,31 +79,6 @@ return [
79
79
];
80
80
```
81
81
82
-
Twill registers its own exception handler in all controllers. If you need to customize it (to report errors on a 3rd party service like Sentry or Rollbar for example), you can opt-out from it in your `config/twill.php` file:
83
-
84
-
```php
85
-
<?php
86
-
87
-
return [
88
-
'bind_exception_handler' => false,
89
-
];
90
-
```
91
-
92
-
And then extend it from your own `app/Exceptions/Handler.php` class:
93
-
94
-
```php
95
-
<?php
96
-
97
-
namespace App\Exceptions;
98
-
99
-
use A17\Twill\Exceptions\Handler as ExceptionHandler;
100
-
use Exception;
101
-
use Illuminate\Auth\AuthenticationException;
102
-
103
-
class Handler extends ExceptionHandler
104
-
...
105
-
```
106
-
107
82
If you would like to provide custom tables names, use the following configuration options:
Copy file name to clipboardexpand all lines: docs/content/1_docs/6_relations/03_one-to-many.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ One to Many is one of the simpler relations to set up so let's get started:
14
14
15
15
As with any relation we need to set up a database. In this example we are using our portfolio example where we will have multiple links on a project.
16
16
17
-
We will set up 2 models, one is a Project model, you can do this using `php artisan twill:module Project`
17
+
We will set up 2 models, one is a Project model, you can do this using `php artisan twill:make:module Project`
18
18
19
-
And afterwards a Link model: `php artisan twill:module Link`, As the Link model is used for our hasMany, we do not have to add it to the routes or navigation files, so you can ignore that suggestion.
19
+
And afterwards a Link model: `php artisan twill:make:module Link`, As the Link model is used for our hasMany, we do not have to add it to the routes or navigation files, so you can ignore that suggestion.
20
20
21
21
In the **Link** migration we add a column to hold the `project_id` that we are creating it from.
'draft-revision-close' => 'Als Entwurfs-Revision abspeichern und schließen',
418
+
'draft-revision-new' => 'Als Entwurfs-Revision abspeichern und weiteren erstellen',
419
+
'draft-revisions-available' => 'Sie betrachten die aktuell veröffentlichte Version des Inhalts. Es gibt neuere Entwurfs-Revisionen.',
420
+
'editing-draft-revision' => 'Sie bearbeiten aktuell eine Entwurfs-Revision dieses Inhalts. Speichern Sie die Änderungen oder Veröffentlichen Sie diese.',
410
421
],
411
422
'select' => [
412
423
'empty-text' => 'Leider keine passenden Optionen gefunden',
0 commit comments