ref: refs/heads/master
commit 857d8accbd10b8694156c74552ba32d8f3802718
Author: Ladislav Slezak
Date: Thu Nov 5 10:36:11 2009 +0100
fixed before filter specification
there should be a list
---
.../patches/app/controllers/patches_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/patches/app/controllers/patches_controller.rb b/plugins/patches/app/controllers/patches_controller.rb
index 76276e4..a743afb 100644
--- a/plugins/patches/app/controllers/patches_controller.rb
+++ b/plugins/patches/app/controllers/patches_controller.rb
@@ -6,7 +6,7 @@ class PatchesController < ApplicationController
# always check permissions and cache expiration
# even if the result is already created and cached
- before_filter :check_read_permissions, :only => {:index, :show}
+ before_filter :check_read_permissions, :only => [:index, :show]
before_filter :check_cache_status, :only => :index
# cache 'index' method result
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org