Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Commit b5d0a66

Browse files
committed
Change app_configs helper path to relative instead of absolute
Closes #1742
1 parent a12b45f commit b5d0a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/app_configs/edit.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
<% if can? :run, :jobs %>
99
<legend>Tasks</legend>
10-
<%= link_to "Run Daily Tasks", '/app_configs/run_daily_tasks/', method: :put, class: 'btn btn-default' %>
11-
<%= link_to "Run Hourly Tasks", '/app_configs/run_hourly_tasks/', method: :put, class: 'btn btn-default' %>
10+
<%= link_to "Run Daily Tasks", run_daily_tasks_app_configs_path, method: :put, class: 'btn btn-default' %>
11+
<%= link_to "Run Hourly Tasks", run_hourly_tasks_app_configs_path, method: :put, class: 'btn btn-default' %>
1212
<% end %>

0 commit comments

Comments
 (0)