Skip to content

Commit

Permalink
docs: fix header renderings
Browse files Browse the repository at this point in the history
  • Loading branch information
shimks committed Jun 7, 2018
1 parent 825d842 commit 4a9c5a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/site/Controller-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ to select:
- The repository for this model that provides datasource connectivity
- The REST path name to host the endpoints on

{% include warning.html content= " If you do not have a model and repository to
select, then you will receive an error! " lang=page.lang
%}
{% include warning.html content="
If you do not have a model and repository to select,
then you will receive an error!
" lang=page.lang %}

Here's an example of what the template will produce given a `Todo` model and a
`TodoRepository`:
Expand Down
3 changes: 2 additions & 1 deletion docs/site/Defining-the-API-using-code-first-approach.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ export class Todo {

{% include note.html content=" `TodoController` from
[tutorial](https://github.com/strongloop/loopback-next/blob/master/docs/site/todo-tutorial-controller.md#srccontrollerstodocontrollerts-2)
is used for demonstration here. " %}
is used for demonstration here.
" %}

Once your models are defined, create a controller to host your routes for each
[paths](https://swagger.io/specification/#pathsObject) of your API:
Expand Down

0 comments on commit 4a9c5a8

Please sign in to comment.