##// END OF EJS Templates
Adds a named route for test email....
Jean-Philippe Lang -
r14009:c558b8b0a3ca
parent child
Show More
@@ -30,7 +30,7
30 </fieldset>
30 </fieldset>
31
31
32 <div style="float:right;">
32 <div style="float:right;">
33 <%= link_to l(:label_send_test_email), { :controller => 'admin', :action => 'test_email' }, :method => :post %>
33 <%= link_to l(:label_send_test_email), test_email_path, :method => :post %>
34 </div>
34 </div>
35
35
36 <%= submit_tag l(:button_save) %>
36 <%= submit_tag l(:button_save) %>
@@ -324,7 +324,7 Rails.application.routes.draw do
324 get 'admin/projects', :to => 'admin#projects'
324 get 'admin/projects', :to => 'admin#projects'
325 get 'admin/plugins', :to => 'admin#plugins'
325 get 'admin/plugins', :to => 'admin#plugins'
326 get 'admin/info', :to => 'admin#info'
326 get 'admin/info', :to => 'admin#info'
327 post 'admin/test_email', :to => 'admin#test_email'
327 post 'admin/test_email', :to => 'admin#test_email', :as => 'test_email'
328 post 'admin/default_configuration', :to => 'admin#default_configuration'
328 post 'admin/default_configuration', :to => 'admin#default_configuration'
329
329
330 resources :auth_sources do
330 resources :auth_sources do
General Comments 0
You need to be logged in to leave comments. Login now