Ok fixed it, for some reason the order was different in the header and 
the body of the table this diff shows the simple fix, just sort the 
headers the same way the body of the table is sorted

*** vendor/plugins/user_engine/app/views/role/_form.rhtml 
2006-03-28 17:59:50.733427091 -0800
--- ../../svnengines/user_engine/app/views/role/_form.rhtml 
2006-03-27 16:45:59.000000000 -0800
***************
*** 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"
       %>
--- 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"
       %>

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to