Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] <rest-service> master : return also steps
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Thu, 20 Aug 2009 13:32:07 +0200
  • Message-id: <E1MlgpR-0006aH-5i@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 4a19579630aad2219811f8750ed89a3ffb9129d2
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Thu Aug 20 13:32:07 2009 +0200

return also steps
---
plugins/basesystem/app/models/basesystem.rb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/plugins/basesystem/app/models/basesystem.rb
b/plugins/basesystem/app/models/basesystem.rb
index 14988bc..591003a 100644
--- a/plugins/basesystem/app/models/basesystem.rb
+++ b/plugins/basesystem/app/models/basesystem.rb
@@ -72,7 +72,13 @@ class Basesystem
xml.instruct! unless options[:skip_instruct]

xml.basesystem do
- xml.tag!(:current, @current)
+ xml.current @current
+ xml.steps({:type => "array"}) do
+ @steps.each do
+ |step|
+ xml.step step
+ end
+ end
end
end

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages