</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) %>
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