Sha256: 9a07660710fbf12a5d52cbce211409639110ef124312ed73dcd527b1908d11ea

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

Spree::Core::Engine.add_routes do
  devise_for :spree_user,
             class_name: Spree::User,
             only: [:omniauth_callbacks],
             controllers: { omniauth_callbacks: 'spree/omniauth_callbacks' },
             path: Spree::SocialConfig[:path_prefix]
  resources :user_authentications

  get 'account' => 'users#show', as: 'user_root'

  namespace :admin do
    resources :authentication_methods
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_social-1.1.0 config/routes.rb
solidus_social-1.0.0 config/routes.rb