Sha256: e878d7f5df114f8023d2b0c99a90e390f50562599e2ea8c6f5828ceb502fd6d4

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

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 'auth/shopify/callback' => :callback
    get 'logout' => :destroy, :as => :logout
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify_app-8.3.2 config/routes.rb
shopify_app-8.3.1 config/routes.rb
shopify_app-8.3.0 config/routes.rb