Commit 4ab18ab7 authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

expose tutorial

parent 1c2ddff7
......@@ -20,7 +20,6 @@ class DocsController extends AbstractController
/**
* @Route("/tutorial", name="tutorial")
* @IsGranted("ROLE_USER")
*/
public function tutorial()
{
......
......@@ -28,6 +28,9 @@
tutorial
</a>
</p>
<p>
To use MOBI-PALEO, you must first <a href="{{ path('register') }}">register</a> before <a href="{{ path('login') }}">logging</a> in.
</p>
<h2>MEMBERS</h2>
......
......@@ -32,8 +32,6 @@
</a>
</li>
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li class="nav-item">
<a class="nav-link
{% if app.request.attributes.get('_route') == 'tutorial' %}
......@@ -45,6 +43,7 @@
</a>
</li>
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li class="nav-item">
<a class="nav-link
{% if app.request.attributes.get('_route') starts with 'job' %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment