Sha256: 092de9426140efbf628bfa6e51e62c018f3f7c0da87c83bc35c27ab1621fe0df

Contents?: true

Size: 285 Bytes

Versions: 33

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

33 entries across 33 versions & 1 rubygems

Version Path
shopify_app-22.4.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.3.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.3.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.2.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.2.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.1.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.0.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-22.00.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.10.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.9.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.8.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.8.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.7.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.6.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.5.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.4.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.4.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.3.1 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.3.0 lib/generators/shopify_app/routes/templates/routes.rb
shopify_app-21.2.0 lib/generators/shopify_app/routes/templates/routes.rb