Class: Rails::PwaController

Inherits:
ApplicationController show all
Defined in:
lib/rails/pwa_controller.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#manifestObject



12
13
14
# File 'lib/rails/pwa_controller.rb', line 12

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

#service_workerObject



8
9
10
# File 'lib/rails/pwa_controller.rb', line 8

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