Sha256: d1a52d97d8ee97479e00e4eb763f869a449da3fdad8ac0cc95202912a0c54af8

Contents?: true

Size: 285 Bytes

Versions: 47

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

controller :sessions do
  get 'login' => :new, :as => :login
  post 'login' => :create, :as => :authenticate
  get 'auth/shopify/callback' => :callback
  get 'logout' => :destroy, :as => :logout
end

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

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
ruby_shopify_app-1.3.3 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.3.2 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.3.1 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.3.0 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.2.0 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.1.0 lib/generators/shopify_app/routes/templates/routes.rb
ruby_shopify_app-1.0.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.1.3 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.1.2 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.1.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.1.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.0.4 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.0.3 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.0.2 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.0.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-18.0.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-17.2.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-17.2.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-17.1.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-17.1.0 lib/generators/shopify_app/routes/templates/routes.rb