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:
parent
97ae34c261
commit
c558b8b0a3
@ -30,7 +30,7 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<div style="float:right;">
|
<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>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag l(:button_save) %>
|
<%= submit_tag l(:button_save) %>
|
||||||
|
|||||||
@ -324,7 +324,7 @@ Rails.application.routes.draw do
|
|||||||
get 'admin/projects', :to => 'admin#projects'
|
get 'admin/projects', :to => 'admin#projects'
|
||||||
get 'admin/plugins', :to => 'admin#plugins'
|
get 'admin/plugins', :to => 'admin#plugins'
|
||||||
get 'admin/info', :to => 'admin#info'
|
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'
|
post 'admin/default_configuration', :to => 'admin#default_configuration'
|
||||||
|
|
||||||
resources :auth_sources do
|
resources :auth_sources do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user