ref: refs/heads/master commit 40c66440d930a55520b434db93927ffe47476bb3 Author: Martin Kudlvasr <mkudlvasr@suse.cz> 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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org