diff options
| author | jpl | 2017-02-09 16:28:44 +0100 | 
|---|---|---|
| committer | jpl | 2017-02-09 16:28:44 +0100 | 
| commit | ee5f500ff832dac67be81875cf98db0cce4677af (patch) | |
| tree | 085f72ddce12fb2d56d96042df4b959b050e35ca /app/helpers/newapplication_helper.rb | |
| parent | c9c42f71e881ad279471f08cbb37ae077823d467 (diff) | |
| download | chouette-core-ee5f500ff832dac67be81875cf98db0cce4677af.tar.bz2 | |
Refs #2550: updating flash msgs, fixing referential archive links on views
Diffstat (limited to 'app/helpers/newapplication_helper.rb')
| -rw-r--r-- | app/helpers/newapplication_helper.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/helpers/newapplication_helper.rb b/app/helpers/newapplication_helper.rb index e4e0c31a3..42d21105a 100644 --- a/app/helpers/newapplication_helper.rb +++ b/app/helpers/newapplication_helper.rb @@ -138,11 +138,11 @@ module NewapplicationHelper            end          elsif action == :archive            unless item.archived? -            content_tag :li, link_to(t("actions.#{action}"), polymorph_url) +            content_tag :li, link_to(t("actions.#{action}"), polymorph_url, method: :put)            end          elsif action == :unarchive            if item.archived? -            content_tag :li, link_to(t("actions.#{action}"), polymorph_url) +            content_tag :li, link_to(t("actions.#{action}"), polymorph_url, method: :put)            end          else            content_tag :li, link_to(t("actions.#{action}"), polymorph_url) | 
