X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9ec7e8c888cc534bcdc2632a34f27e5853bb4241..84a0c76ab2a09a05e10b9057c9087a342db5f7e2:/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