Skip to content

Commit 38b94c2

Browse files
author
Chris Cho
committed
formatting fixes
1 parent c913056 commit 38b94c2

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/quick-start/view-data.txt

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ View Sample MongoDB Data
4949

5050
<?php
5151

52-
namespace App\Models;
52+
namespace App\Models;
5353

54-
use MongoDB\Laravel\Eloquent\Model;
54+
use MongoDB\Laravel\Eloquent\Model;
5555

56-
class Movie extends Model
57-
{
58-
protected $connection = 'mongodb';
59-
}
56+
class Movie extends Model
57+
{
58+
protected $connection = 'mongodb';
59+
}
6060

6161
.. step:: Add a Controller Function
6262

@@ -102,6 +102,8 @@ View Sample MongoDB Data
102102

103103
php artisan make:view browse_movies
104104

105+
After you run the command, you should see the following message:
106+
105107
.. code-block:: none
106108
:copyable: false
107109

@@ -145,9 +147,9 @@ View Sample MongoDB Data
145147

146148
php artisan serve
147149

148-
If the server starts successfully, you should see the following message:
150+
After the server starts, you should see the following message:
149151

150-
.. code-block: none
152+
.. code-block:: none
151153
:copyable: false
152154

153155
INFO Server running on [http://127.0.0.1:8000].
@@ -156,8 +158,8 @@ View Sample MongoDB Data
156158

157159
.. step:: View the Movie Data
158160

159-
Open http://127.0.0.1:8000/browse_movies in your web browser. If it runs
160-
successfully, you should see a list of movies and details about each of them.
161+
Open the URL http://127.0.0.1:8000/browse_movies in your web browser.
162+
You should see a list of movies and details about each of them.
161163

162164
.. tip::
163165

0 commit comments

Comments
 (0)