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-8.0.1 lib/rails/pwa_controller.rb
railties-8.0.0.1 lib/rails/pwa_controller.rb
railties-7.2.2.1 lib/rails/pwa_controller.rb
railties-8.0.0 lib/rails/pwa_controller.rb
railties-7.2.2 lib/rails/pwa_controller.rb
railties-8.0.0.rc2 lib/rails/pwa_controller.rb
railties-7.2.1.2 lib/rails/pwa_controller.rb
railties-8.0.0.rc1 lib/rails/pwa_controller.rb
railties-7.2.1.1 lib/rails/pwa_controller.rb
railties-8.0.0.beta1 lib/rails/pwa_controller.rb
omg-railties-8.0.0.alpha9 lib/rails/pwa_controller.rb
omg-railties-8.0.0.alpha8 lib/rails/pwa_controller.rb
omg-railties-8.0.0.alpha7 lib/rails/pwa_controller.rb
omg-railties-8.0.0.alpha4 lib/rails/pwa_controller.rb
omg-railties-8.0.0.alpha3 lib/rails/pwa_controller.rb
railties-7.2.1 lib/rails/pwa_controller.rb
railties-7.2.0 lib/rails/pwa_controller.rb
railties-7.2.0.rc1 lib/rails/pwa_controller.rb
railties-7.2.0.beta3 lib/rails/pwa_controller.rb
railties-7.2.0.beta2 lib/rails/pwa_controller.rb