added routes for call

This commit is contained in:
Beatrice Olivera
2018-08-28 18:26:33 +01:00
parent 3dfbc577b6
commit 4b1636ee78
6 changed files with 36 additions and 19 deletions

View File

@@ -10,7 +10,8 @@
<%#= stylesheet_pack_tag 'application', media: 'all' %> <!-- Uncomment if you import CSS in app/javascript/packs/application.js -->
</head>
<body>
<%= render 'shared/navbar' unless params["action"] == "home"%>
<%= render 'shared/navbar' unless params["action"] == "home" || params["action"] == "new" %>
<%= render 'shared/flashes' %>
<%= yield %>
<%= javascript_include_tag 'application' %>