Skip to content

Commit

Permalink
Removed redundant line of code
Browse files Browse the repository at this point in the history
this line was added in ManageIQ#6782, should keep the next line that uses `arel_table`
  • Loading branch information
h-kataria committed May 21, 2020
1 parent 7e25777 commit c944fd7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/mixins/manager_controller_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def new
def edit
assert_privileges("#{privilege_prefix}_edit_provider")
@explorer = true if explorer_controller?
@server_zones = Zone.visible.in_my_region.order('lower(description)').pluck(:description, :name)
@server_zones = Zone.visible.in_my_region.order(Zone.arel_table[:name].lower).pluck(:description, :name)
case params[:button]
when "cancel"
Expand Down

0 comments on commit c944fd7

Please sign in to comment.