deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: Fixes JIRA DTACLOUD_296 - storage volumes and HTML UI
Date Mon, 13 Aug 2012 08:22:14 GMT
Updated Branches:
  refs/heads/master d4aa5a244 -> 273022297


Fixes JIRA DTACLOUD_296 - storage volumes and HTML UI

https://issues.apache.org/jira/browse/DTACLOUD-296


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/27302229
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/27302229
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/27302229

Branch: refs/heads/master
Commit: 273022297c458f23a1f4fce521ceaf54c3654305
Parents: d4aa5a2
Author: marios <marios@redhat.com>
Authored: Thu Aug 9 19:02:35 2012 +0300
Committer: marios <marios@redhat.com>
Committed: Mon Aug 13 11:20:09 2012 +0300

----------------------------------------------------------------------
 server/views/storage_volumes/attach.html.haml |    2 +-
 server/views/storage_volumes/show.html.haml   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/27302229/server/views/storage_volumes/attach.html.haml
----------------------------------------------------------------------
diff --git a/server/views/storage_volumes/attach.html.haml b/server/views/storage_volumes/attach.html.haml
index 0127ccd..8c20753 100644
--- a/server/views/storage_volumes/attach.html.haml
+++ b/server/views/storage_volumes/attach.html.haml
@@ -1,6 +1,6 @@
 %h1 Attach storage volume
 
-%form{ :action => attach_storage_volume_url(params[:id]), :method => :post }
+%form{ :action => api_url_for("storage_volumes/#{params[:id]}/attach"), :method =>
:post }
   %p
     %label
       Instance ID:

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/27302229/server/views/storage_volumes/show.html.haml
----------------------------------------------------------------------
diff --git a/server/views/storage_volumes/show.html.haml b/server/views/storage_volumes/show.html.haml
index 2ac9944..9a9da37 100644
--- a/server/views/storage_volumes/show.html.haml
+++ b/server/views/storage_volumes/show.html.haml
@@ -40,4 +40,4 @@
             =link_to_action "Delete", api_url_for("storage_volumes/#{@storage_volume.id}"),
:delete
             =link_to_action "Attach", api_url_for("storage_volumes/#{@storage_volume.id}/attach_instance"),
:get
           - if @storage_volume.instance_id
-            =link_to_action "Detach", detach_storage_volume_url(@storage_volume.id), :post
+            =link_to_action "Detach", api_url_for("storage_volumes/#{@storage_volume.id}/detach"),
:post


Mime
View raw message