deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Core: Fixed the link to :run action in HTML UI
Date Wed, 13 Jun 2012 13:49:54 GMT
Updated Branches:
  refs/heads/master 43af3a1e1 -> 9e568c909


Core: Fixed the link to :run action in HTML UI


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

Branch: refs/heads/master
Commit: 9e568c909956d34900a5e148487ce005b5758623
Parents: 43af3a1
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Wed Jun 13 15:50:41 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Wed Jun 13 15:50:41 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/9e568c90/server/views/instances/show.html.haml
----------------------------------------------------------------------
diff --git a/server/views/instances/show.html.haml b/server/views/instances/show.html.haml
index ce8fa4d..9910de4 100644
--- a/server/views/instances/show.html.haml
+++ b/server/views/instances/show.html.haml
@@ -59,6 +59,6 @@
         - @instance.actions.each do |action|
           =link_to_action action, self.send(:"#{action}_instance_url", @instance.id), instance_action_method(action)
         - if @instance.state=="RUNNING" and driver.respond_to?(:run_on_instance)
-          =link_to_action 'run command', api_url('/instances/%s/run' % @instance.id), :get
+          =link_to_action 'run command', api_url_for('instances/%s/run' % @instance.id),
:get
         - if @instance.can_create_image?
           =link_to_action 'Create Image', api_url_for("images/new?instance_id=#{@instance.id}"),
:get


Mime
View raw message