X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9ec7e8c888cc534bcdc2632a34f27e5853bb4241..a5ee93b30110e2c89879e0a67ab2b1c18158faf2:/app/controllers/api/user_blocks/active_lists_controller.rb diff --git a/app/controllers/api/user_blocks/active_lists_controller.rb b/app/controllers/api/user_blocks/active_lists_controller.rb index fd7b768dd..535d7393a 100644 --- a/app/controllers/api/user_blocks/active_lists_controller.rb +++ b/app/controllers/api/user_blocks/active_lists_controller.rb @@ -7,7 +7,10 @@ module Api before_action :set_request_formats - def show; end + def show + @user_blocks = current_user.blocks.active.order(:id => :desc) + @skip_reason = true + end end end end