Sha256: 9b4fc1787f72815e3be9465b65cf0f2a9f7ee268506b1b619a6f282d4062e1f0

Contents?: true

Size: 992 Bytes

Versions: 5

Compression:

Stored size: 992 Bytes

Contents

Rails.application.routes.draw do
  devise_for :users,
             :controllers => { :sessions => 'user_sessions',
                               :registrations => 'user_registrations',
                               :passwords => "user_password_resets"},
             :skip => [:unlocks, :omniauth_callbacks],
             :path_names => { :sign_out => 'logout'}
  resources :users, :only => [:edit, :update]

  devise_scope :user do
    get "/login" => "user_sessions#new", :as => :login
    get "/signup" => "user_registrations#new", :as => :signup
  end


  match '/checkout/registration' => 'checkout#registration', :via => :get, :as => :checkout_registration
  match '/checkout/registration' => 'checkout#update_registration', :via => :put, :as => :update_checkout_registration

  match '/orders/:id/token/:token' => 'orders#show', :via => :get, :as => :token_order

  resource :session do
    member do
      get :nav_bar
    end
  end
  resource :account, :controller => "users"

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_auth-0.40.4 config/routes.rb
spree_auth-0.40.3 config/routes.rb
spree_auth-0.40.2 config/routes.rb
spree_auth-0.40.1 config/routes.rb
spree_auth-0.40.0 config/routes.rb