Defect #1 » roles_controller.rb_PATCH.txt
| 1 |
Index: C:/rubyworkspace/redmine-trunk/app/controllers/roles_controller.rb |
|---|---|
| 2 |
=================================================================== |
| 3 |
--- C:/rubyworkspace/redmine-trunk/app/controllers/roles_controller.rb (revision 127) |
| 4 |
+++ C:/rubyworkspace/redmine-trunk/app/controllers/roles_controller.rb (working copy) |
| 5 |
@@ -38,7 +38,7 @@ |
| 6 |
redirect_to :action => 'list' |
| 7 |
end |
| 8 |
end |
| 9 |
- @permissions = Permission.find(:all, :conditions => ["is_public=?", false], :order => 'sort ASC') |
| 10 |
+ @permissions = Permission.find(:all, :order => 'sort ASC') |
| 11 |
end |
| 12 |
|
| 13 |
def edit |
| 14 |
@@ -49,7 +49,7 @@ |
| 15 |
flash[:notice] = l(:notice_successful_update) |
| 16 |
redirect_to :action => 'list' |
| 17 |
end |
| 18 |
- @permissions = Permission.find(:all, :conditions => ["is_public=?", false], :order => 'sort ASC') |
| 19 |
+ @permissions = Permission.find(:all, :order => 'sort ASC') |
| 20 |
end |
| 21 |
|
| 22 |
def destroy |