mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +08:00
FIX: you could not manually trigger jobs via sidekiq ui
This commit is contained in:
parent
10b8e43a92
commit
f85b59b6d4
@ -58,6 +58,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<form action="<%= "#{root_path}scheduler/#{schedule}/trigger" %>" method="post">
|
<form action="<%= "#{root_path}scheduler/#{schedule}/trigger" %>" method="post">
|
||||||
|
<%= csrf_tag if respond_to?(:csrf_tag) %>
|
||||||
<input class="btn btn-danger btn-small" type="submit" name="trigger" value="Trigger" data-confirm="Are you sure you want to trigger this job?" />
|
<input class="btn btn-danger btn-small" type="submit" name="trigger" value="Trigger" data-confirm="Are you sure you want to trigger this job?" />
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user