Sha256: 94f85019ade9eae44359ce7950dbb9d547b7cfe1c70a6c8f6931ad6192da1b55
Contents?: true
Size: 656 Bytes
Versions: 19
Compression:
Stored size: 656 Bytes
Contents
module DiscoApp class InstallController < ApplicationController include DiscoApp::AuthenticatedController # Start the installation process for the current shop, then redirect to the installing screen. def install AppInstalledJob.perform_later(@shop.shopify_domain) redirect_to action: :installing end # Display an "installing" page. def installing if @shop.installed? redirect_to main_app.root_path end end # Display an "uninstalling" page. Should be almost never used. def uninstalling if @shop.uninstalled? redirect_to main_app.root_path end end end end
Version data entries
19 entries across 19 versions & 1 rubygems