Hi I don't have access to the new bug system, so here is a patch to fix
a bug in the roles edit form, basically the table header and the table
body ended up getting out of sync due to one being sorted and the other
not, its a one liner fix as shown below.
*** ../../svnengines/user_engine/app/views/role/_form.rhtml
2006-03-27 16:45:59.000000000 -0800
--- vendor/plugins/user_engine/app/views/role/_form.rhtml
2006-03-28 17:59:50.733427091 -0800
***************
*** 15,21 ****
<table id="role_permission_table">
<thead><tr>
! <% @all_actions.each_key do |controller_name|
controller_id = controller_name.gsub("/", "_")
#perms_id = controller_id + "_perms"
%>
--- 15,21 ----
<table id="role_permission_table">
<thead><tr>
! <% @all_actions.keys.sort.each do |controller_name|
controller_id = controller_name.gsub("/", "_")
#perms_id = controller_id + "_perms"
%>
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org