Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> resource-restful : fixes
  • From: Martin Kudlvasr <mkudlvasr@xxxxxxx>
  • Date: Thu, 17 Sep 2009 15:02:52 +0200
  • Message-id: <E1MoJ5U-0003ZK-Bl@xxxxxxxxxxxxxxxx>
ref: refs/heads/resource-restful
commit 40c66440d930a55520b434db93927ffe47476bb3
Author: Martin Kudlvasr <mkudlvasr@xxxxxxx>
Date: Thu Sep 17 15:02:52 2009 +0200

fixes
---
webservice/app/views/resources/index.html.erb | 4 ++--
webservice/app/views/resources/show.html.erb | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/webservice/app/views/resources/index.html.erb
b/webservice/app/views/resources/index.html.erb
index aab2371..fac8658 100644
--- a/webservice/app/views/resources/index.html.erb
+++ b/webservice/app/views/resources/index.html.erb
@@ -1,4 +1,4 @@
<h1><%= @node -%> resources</h1>
<% @resources.each do |rsrc| -%>
- <%= link_to rsrc.interface, :only_path => :true, :controller =>
rsrc.controller, :action => rsrc.action -%><br/>
-<% end end -%>
+ <%= link_to rsrc.interface, :only_path => :true, :controller =>
rsrc.link_to, :action => rsrc.action -%><br/>
+<% end -%>
diff --git a/webservice/app/views/resources/show.html.erb
b/webservice/app/views/resources/show.html.erb
index 2e24064..9a82e84 100644
--- a/webservice/app/views/resources/show.html.erb
+++ b/webservice/app/views/resources/show.html.erb
@@ -1,2 +1,2 @@
<h1><%= @node -%> resources</h1>
- <%= link_to @resource.interface, :only_path => :true, :controller =>
@resource.controller, :action => @resource.action -%><br/>
+ <%= link_to @resource.interface, :only_path => :true, :controller =>
@resource.link_to, :action => @resource.action -%><br/>
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages