Commit 57843514a101795cea5ce0a93bfb4ece1fa5cb63
Exists in
master
and in
28 other branches
Merge remote branch 'unb-gama-mes/ActionItem2910-OrderFeaturesAlphabetically'
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/admin/features_controller.rb
| @@ -2,7 +2,7 @@ class FeaturesController < AdminController | @@ -2,7 +2,7 @@ class FeaturesController < AdminController | ||
| 2 | protect 'edit_environment_features', :environment | 2 | protect 'edit_environment_features', :environment |
| 3 | 3 | ||
| 4 | def index | 4 | def index |
| 5 | - @features = Environment.available_features | 5 | + @features = Environment.available_features.sort_by{|k,v|v} |
| 6 | end | 6 | end |
| 7 | 7 | ||
| 8 | post_only :update | 8 | post_only :update |