Skip to content

Commit

Permalink
fix: uses new ejs template include syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
shajanjp committed Apr 4, 2020
1 parent 10b7916 commit 06aef88
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/contacts/views/delete-contact.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</head>
<body>
<h1><%= contacts.title %></h1>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
</body>
</html>
2 changes: 1 addition & 1 deletion app/contacts/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h1><%= contacts.title %></h1>
</div>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
</body>
</html>
2 changes: 1 addition & 1 deletion app/contacts/views/view-contact.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</div>
</div>
<% } %>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
<script src="/contacts/public/js/script.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion app/contacts/views/view-house.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>
</div>
<% } %>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
<script src="/contacts/public/js/script.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion app/home/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="ui container">
<h1 class="ui center aligned header"><%= home.title %></h1>
</div>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
</body>
</html>
2 changes: 1 addition & 1 deletion make
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ case "$1" in
</head>
<body>
<h1><%= "$moduleNamePlural".title %></h1>
<% include ../../home/views/partials/footer.ejs %>
<% include('../../home/views/partials/footer.ejs') %>
<%- include('../../home/views/partials/scripts.ejs') %>
</body>
</html>" > app/$moduleNamePlural/views/add.ejs;
Expand Down

0 comments on commit 06aef88

Please sign in to comment.