Sha256: 99eb211bd2342a6b25e7ef7e9b0879cf7073f1e8d062b22e1f5513422af06605

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

AsUser::Engine.routes.draw do
  resources :users do
    member do
      get :edit_password
    end
  end
  resources :sessions, only: [:new, :create, :destroy]

  match "/signup", to: 'users#new'
  match "/signin", to: 'sessions#new'
  match "/signout", to: 'sessions#destroy', via: :delete

  get "abouts/index" => "abouts#index"
  root to: "abouts#index"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
as_user-0.0.4 config/routes.rb
as_user-0.0.3 config/routes.rb