Class: Rails::PwaController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Rails::PwaController
- Defined in:
- lib/rails/pwa_controller.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#manifest ⇒ Object
12 13 14 |
# File 'lib/rails/pwa_controller.rb', line 12 def manifest render template: "pwa/manifest", layout: false end |
#service_worker ⇒ Object
8 9 10 |
# File 'lib/rails/pwa_controller.rb', line 8 def service_worker render template: "pwa/service-worker", layout: false end |