Sha256: 2e7fee41b862331de125dcc457acae0c82fe4e8e5d067beda4d78e45c9e42827

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

if ShopifyApp.configuration.routes_enabled?
  ShopifyApp::Engine.routes.draw do
    controller :sessions do
      get 'login' => :new, :as => :login
      post 'login' => :create, :as => :authenticate
      get 'auth/shopify/callback' => :callback
      get 'logout' => :destroy, :as => :logout
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shopify_app-6.0.6 config/routes.rb
shopify_app-6.0.5 config/routes.rb
shopify_app-6.0.4 config/routes.rb
shopify_app-6.0.3 config/routes.rb
shopify_app-6.0.2 config/routes.rb
shopify_app-6.0.1 config/routes.rb
shopify_app-6.0.0 config/routes.rb