* Initial work for streaming app shell way of using serviceworkers * Close in on serviceworker adjustment finalization * Add docs and loading indicator * Remove useless code * Don't run on API * Update app/javascript/contentDisplayPolicy/hideBlockedContent.js * Fix small details * Don't run serviceworker.js code in test env * Fix JS in serviceworker * Move private keyword to proper place in async controller * Change shell_version to HEROKU_SLUG_COMMIT * Update caching config * Add test for async_info/shell_version
13 lines
193 B
Ruby
13 lines
193 B
Ruby
class ShellController < ApplicationController
|
|
layout false
|
|
|
|
def top
|
|
@shell = true
|
|
render partial: "top"
|
|
end
|
|
|
|
def bottom
|
|
@shell = true
|
|
render partial: "bottom"
|
|
end
|
|
end
|