diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-11 11:53:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-11 11:53:28 +0000 |
commit | 71e636ff71791bafdc2638d4916c68f5235e957a (patch) | |
tree | 23f60b5f238397a5735ab3569b9eff3a0d185304 /app/views | |
parent | bd47af098fefef968647f7634105b22eb115d4b2 (diff) | |
download | redmine-71e636ff71791bafdc2638d4916c68f5235e957a.tar.gz redmine-71e636ff71791bafdc2638d4916c68f5235e957a.zip |
Resourcified auth_sources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9233 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/auth_sources/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/auth_sources/index.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/auth_sources/edit.html.erb b/app/views/auth_sources/edit.html.erb index 87c72724d..f2d76002c 100644 --- a/app/views/auth_sources/edit.html.erb +++ b/app/views/auth_sources/edit.html.erb @@ -1,6 +1,6 @@ <h2><%=l(:label_auth_source)%> (<%= h(@auth_source.auth_method_name) %>)</h2> -<% form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") do %> +<% form_tag({:action => 'update', :id => @auth_source}, :method => :put, :class => "tabular") do %> <%= render :partial => auth_source_partial_name(@auth_source) %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index f239184ae..30d3bad7f 100644 --- a/app/views/auth_sources/index.html.erb +++ b/app/views/auth_sources/index.html.erb @@ -22,7 +22,7 @@ <td class="buttons"> <%= link_to l(:button_test), :action => 'test_connection', :id => source %> <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, - :method => :post, + :method => :delete, :confirm => l(:text_are_you_sure), :class => 'icon icon-del', :disabled => source.users.any? %> |