Method: ShopifyApp::SessionsController#granted_storage_access
- Defined in:
- app/controllers/shopify_app/sessions_controller.rb
#granted_storage_access ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'app/controllers/shopify_app/sessions_controller.rb', line 36 def granted_storage_access return unless validate_shop session['shopify.granted_storage_access'] = true params = { shop: @shop } redirect_to "#{ShopifyApp.configuration.root_url}?#{params.to_query}" end |