X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c99a50de2c421a5a0c51b2e268c298717ff13019..refs/pull/806/head:/config/app.php diff --git a/config/app.php b/config/app.php index e4ccbb26f..69e2380e8 100755 --- a/config/app.php +++ b/config/app.php @@ -2,10 +2,29 @@ return [ - 'env' => env('APP_ENV', 'production'), - 'editor' => env('APP_EDITOR', 'html'), + /** + * Set the default view type for various lists. Can be overridden by user preferences. + * This will be used for public viewers and users that have not set a preference. + */ + 'views' => [ + 'books' => env('APP_VIEWS_BOOKS', 'list') + ], + + /** + * Allow