Skip to content

Commit

Permalink
Add note about returning custom views in maintenance mode. Closes lar…
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 28, 2013
1 parent ea644aa commit 19b61df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,11 @@ To enable maintenance mode, simply execute the `down` Artisan command:

To disable maintenance mode, use the `up` command:

php artisan up
php artisan up

To show a custom view when your application is in maintenance mode, you may add something like the following to your application's `app/start/global.php` file:

App::down(function()
{
return Response::view('maintenance', array(), 503);
})

0 comments on commit 19b61df

Please sign in to comment.