1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Adds a named route for test email.

git-svn-id: http://svn.redmine.org/redmine/trunk@14391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-06-29 16:16:20 +00:00
parent 97ae34c261
commit c558b8b0a3
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
</fieldset>
<div style="float:right;">
<%= link_to l(:label_send_test_email), { :controller => 'admin', :action => 'test_email' }, :method => :post %>
<%= link_to l(:label_send_test_email), test_email_path, :method => :post %>
</div>
<%= submit_tag l(:button_save) %>

View File

@ -324,7 +324,7 @@ Rails.application.routes.draw do
get 'admin/projects', :to => 'admin#projects'
get 'admin/plugins', :to => 'admin#plugins'
get 'admin/info', :to => 'admin#info'
post 'admin/test_email', :to => 'admin#test_email'
post 'admin/test_email', :to => 'admin#test_email', :as => 'test_email'
post 'admin/default_configuration', :to => 'admin#default_configuration'
resources :auth_sources do