Sha256: d4ef21f85a1ceb973b3f7cb9771d2742695fced62ddc7c0bb93af76e07ce766d

Contents?: true

Size: 327 Bytes

Versions: 21

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

require "rails/application_controller"

class Rails::PwaController < Rails::ApplicationController # :nodoc:
  skip_forgery_protection

  def service_worker
    render template: "pwa/service-worker", layout: false
  end

  def manifest
    render template: "pwa/manifest", layout: false
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
railties-7.2.0.beta1 lib/rails/pwa_controller.rb