mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 21:34:50 +00:00
bd1616d3d9
* set up static offline.html route and service worker for Android Web App Banner * add viewport meta tag to offline view for android app banner * add i18n support for offline.html pages, cleanup * fix html syntax, add page title, remove license for service-worker.js
9 lines
212 B
Ruby
9 lines
212 B
Ruby
class OfflineController < ApplicationController
|
|
layout false
|
|
skip_before_filter :preload_json, :check_xhr, :redirect_to_login_if_required
|
|
|
|
def index
|
|
render :offline, content_type: 'text/html'
|
|
end
|
|
end
|