Skip to content

Commit

Permalink
remove thread creation per nashoid
Browse files Browse the repository at this point in the history
  • Loading branch information
sylae committed Nov 27, 2023
1 parent c56bdd3 commit 67e7be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -35,7 +35,7 @@

nf_route("/threads", "WormRP\Controller\Threads.Index");
nf_route("/threads/search", "WormRP\Controller\Threads.Search");
nf_route("/threads/new", "WormRP\Controller\Threads.New");
// nf_route("/threads/new", "WormRP\Controller\Threads.New");

nf_route("/thread/:idThread", "WormRP\Controller\Thread.View");
nf_route("/thread/:idThread/edit", "WormRP\Controller\Thread.Edit");
Expand Down
4 changes: 2 additions & 2 deletions tpl/threads.list.twig
Expand Up @@ -3,14 +3,14 @@
{% block title %}Threads{% endblock title %}

{% block content %}
{% if user %}
{% if user %}<!--
<div class="field">
<div class="control">
<a class="button is-link" href="/threads/new">
Create a thread
</a>
</div>
</div>
</div>-->
{% endif %}

<form method="get" action="/threads/search">
Expand Down

0 comments on commit 67e7be4

Please sign in to comment.