Sha256: e81258f36070d77fc3fa10fdb5a4c2c83034aa01bcf4e4f1bc6d1e8f94ae0fc4

Contents?: true

Size: 650 Bytes

Versions: 41

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true
ShopifyApp::Engine.routes.draw do
  controller :sessions do
    get 'login' => :new, :as => :login
    post 'login' => :create, :as => :authenticate
    get 'enable_cookies' => :enable_cookies, :as => :enable_cookies
    get 'top_level_interaction' =>
      :top_level_interaction,
        :as => :top_level_interaction
    get 'granted_storage_access' =>
      :granted_storage_access,
        :as => :granted_storage_access
    get 'logout' => :destroy, :as => :logout
  end

  controller :callback do
    get 'auth/shopify/callback' => :callback
  end

  namespace :webhooks do
    post ':type' => :receive
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
ruby_shopify_app-1.0.0 config/routes.rb
shopify_app-18.1.3 config/routes.rb
shopify_app-18.1.2 config/routes.rb
shopify_app-18.1.1 config/routes.rb
shopify_app-18.1.0 config/routes.rb
shopify_app-18.0.4 config/routes.rb
shopify_app-18.0.3 config/routes.rb
shopify_app-18.0.2 config/routes.rb
shopify_app-18.0.1 config/routes.rb
shopify_app-18.0.0 config/routes.rb
shopify_app-17.2.1 config/routes.rb
shopify_app-17.2.0 config/routes.rb
shopify_app-17.1.1 config/routes.rb
shopify_app-17.1.0 config/routes.rb
shopify_app-17.0.5 config/routes.rb
shopify_app-17.0.4 config/routes.rb
shopify_app-17.0.3 config/routes.rb
shopify_app-17.0.2 config/routes.rb
shopify_app-17.0.1 config/routes.rb
shopify_app-17.0.0 config/routes.rb