Sha256: 4830dfb74fc6003373a5bb0034ad4b59913460a67f4c42e56886db7e2c38075d

Contents?: true

Size: 240 Bytes

Versions: 26

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

module Shimmer
  class SitemapsController < ActionController::Base
    def show
      path = "sitemaps/#{params.require(:path)}.gz"
      send_data ActiveStorage::Blob.service.download(path)
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
shimmer-0.0.29 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.28 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.27 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.26 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.25 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.24 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.23 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.22 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.21 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.20 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.19 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.18 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.17 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.16 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.15 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.14 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.13 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.12 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.11 lib/shimmer/controllers/sitemaps_controller.rb
shimmer-0.0.10 lib/shimmer/controllers/sitemaps_controller.rb