Sha256: 267bd8af75fab53e47b306a78f0507644564bccf744989d8cfabcba1beb866d5

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

Rails.application.routes.draw do
  get "up" => "rails/health#show", as: :rails_health_check

  root "welcome#index"

  get "register", to: "auth/registered_user#new", as: :register
  post "register", to: "auth/registered_user#create"

  get "login", to: "auth/authenticated_session#new", as: :login
  post "login", to: "auth/authenticated_session#create"

  get "forgot-password", to: "auth/password_reset_link#new", as: :password_request
  post "forgot-password", to: "auth/password_reset_link#create", as: :password_email

  get "reset-password/:token", to: "auth/new_password#new", as: :password_reset
  post "reset-password", to: "auth/new_password#create", as: :password_store

  post "logout", to: "auth/authenticated_session#destroy", as: :logout

  get "dashboard", to: "dashboard#show", as: :dashboard

  get "profile", to: "profile#edit", as: :profile_edit
  patch "profile", to: "profile#update", as: :profile_update
  delete "profile", to: "profile#destroy", as: :profile_destroy

  put "password", to: "password#update", as: :password_update
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kaze-0.2.0 stubs/default/config/routes.rb
kaze-0.1.0 stubs/default/config/routes.rb