Sha256: 48e623d8ecfa00fbcd1f711c35c1c935d9ea80a95b81e82587322b529e211532

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 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 "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

3 entries across 3 versions & 1 rubygems

Version Path
shopify_app-19.0.2 config/routes.rb
shopify_app-19.0.1 config/routes.rb
shopify_app-19.0.0 config/routes.rb