mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Use DB for auth sessions (#1233)
* DB sessions * Validations for profile image
This commit is contained in:
parent
82c298307d
commit
1ffa13f3b3
27 changed files with 118 additions and 76 deletions
|
@ -1,18 +1,14 @@
|
|||
Rails.application.routes.draw do
|
||||
mount GoodJob::Engine => "jobs"
|
||||
|
||||
get "changelog" => "pages#changelog", as: :changelog
|
||||
get "feedback" => "pages#feedback", as: :feedback
|
||||
get "changelog", to: "pages#changelog"
|
||||
get "feedback", to: "pages#feedback"
|
||||
|
||||
resource :registration
|
||||
resource :session
|
||||
resources :sessions, only: %i[new create destroy]
|
||||
resource :password_reset
|
||||
resource :password
|
||||
|
||||
namespace :help do
|
||||
resources :articles, only: :show
|
||||
end
|
||||
|
||||
namespace :settings do
|
||||
resource :profile, only: %i[show update destroy]
|
||||
resource :preferences, only: %i[show update]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue