Hi all,

I think I've located some superfluous code. I just can't see what it does, so I've created a patch. Please tell me if this code has a function somehow.

Kind regards,
Jeroen van Doorn
Index: role_controller.rb
===================================================================
--- role_controller.rb  (revision 453)
+++ role_controller.rb  (working copy)
@@ -106,9 +106,7 @@
             @role.permissions.clear
     
             permissions.each { |perm|
-              if [EMAIL PROTECTED](perm)
                 @role.permissions << perm
-              end
             }
             
             # save the object    
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to