Sha256: 3dd0878de241f8e2cf1951940c57b6d2de7cc2fad600a573bfe285ba3ca29d48

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

Rails.application.routes.draw do

  get 'profile', to: "users#profile"

  patch 'user/update', to: "users#update"
  get 'user/edit', to: "users#edit"
  
  get 'login', to: "sessions#new"
  delete 'signout', to: 'sessions#destroy'
  resources :sessions, only: [:create]

  namespace :admin do

    resources :users, except: [:show]

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snapuser-0.1.1 config/routes.rb
snapuser-0.1.0 config/routes.rb