Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> network : Exception check in services_controller.rb
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 24 Aug 2009 15:37:55 +0200
  • Message-id: <E1MnBbv-0003Zz-Uo@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit bf86038b428726518504012d8e7fff1c1c16cf9e
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
Date: Fri Aug 21 09:14:26 2009 +0200

Exception check in services_controller.rb
---
.../app/controllers/services_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/services/app/controllers/services_controller.rb
b/plugins/services/app/controllers/services_controller.rb
index 2b72bf6..0e84f95 100644
--- a/plugins/services/app/controllers/services_controller.rb
+++ b/plugins/services/app/controllers/services_controller.rb
@@ -11,7 +11,7 @@ class ServicesController < ApplicationController
flash[:notice] = _("Invalid session, please login again.")
redirect_to( logout_path ) and return
end
- @permissions = @client.permissions
+ @permissions = @client.permissions rescue {}
end

# Initialize GetText and Content-Type.
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages