aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/ressources/list.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/ressources/list.html.haml')
-rw-r--r--app/views/admin/ressources/list.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/ressources/list.html.haml b/app/views/admin/ressources/list.html.haml
index ca18e28..77cf336 100644
--- a/app/views/admin/ressources/list.html.haml
+++ b/app/views/admin/ressources/list.html.haml
@@ -19,7 +19,7 @@
%h1.box1 Listing Ressources (#{@list_ressources_count.to_s})
-.text-link= link_to 'New resource', new_admin_ressource_url
+.text-link= link_to 'New resource', new_admin_ressource_path
%p
%table.list
@@ -45,7 +45,7 @@
%td.center= check_box_tag "ressource[postroute]",1,ressource.postroute, :disabled => true
%td.center= check_box_tag "ressource[events]",1,ressource.events, :disabled => true
%td
- = link_to 'Show', admin_ressource_url(:id => ressource)
- = link_to 'Edit', edit_admin_ressource_url(:id => ressource)
- = link_to 'Destroy', admin_ressource_url(:id => ressource), :confirm => 'Are you sure?', :method => :delete
+ = link_to 'Show', admin_ressource_path(:id => ressource)
+ = link_to 'Edit', edit_admin_ressource_path(:id => ressource)
+ = link_to 'Destroy', admin_ressource_path(:id => ressource), :confirm => 'Are you sure?', :method => :delete
- ns_printed= true