diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-28 11:32:44 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2018-09-28 11:32:44 -0700 |
commit | 5ad0813322820a6c42d7b3074531ac40108bfb69 (patch) | |
tree | 59a3e850d507daa7028600fb94c551e6aaf93eb9 /app/views/rails/conductor/action_mailroom/inbound_emails | |
parent | c9d8f6650d6c5c88c5346032b23d037cf3e4aae6 (diff) | |
download | rails-5ad0813322820a6c42d7b3074531ac40108bfb69.tar.gz rails-5ad0813322820a6c42d7b3074531ac40108bfb69.tar.bz2 rails-5ad0813322820a6c42d7b3074531ac40108bfb69.zip |
Add rerouting option
Diffstat (limited to 'app/views/rails/conductor/action_mailroom/inbound_emails')
-rw-r--r-- | app/views/rails/conductor/action_mailroom/inbound_emails/show.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/rails/conductor/action_mailroom/inbound_emails/show.html.erb b/app/views/rails/conductor/action_mailroom/inbound_emails/show.html.erb index e6f40b19e2..e761904196 100644 --- a/app/views/rails/conductor/action_mailroom/inbound_emails/show.html.erb +++ b/app/views/rails/conductor/action_mailroom/inbound_emails/show.html.erb @@ -3,7 +3,7 @@ <h1><%= @inbound_email.message_id %>: <%= @inbound_email.status %></h1> <ul> - <li>Retry</li> + <li><%= button_to "Route again", main_app.rails_conductor_inbound_email_reroute_path(@inbound_email), method: :post %></li> <li>Incinerate</li> </ul> @@ -11,3 +11,5 @@ <summary>Full email source</summary> <pre><%= @inbound_email.source %></pre> </details> + +<%= link_to "Back to all inbound emails", main_app.rails_conductor_inbound_emails_path %>
\ No newline at end of file |