1
0
Fork 0
This repository has been archived on 2023-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/routes.rb

25 lines
729 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
root to: 'home#show'
devise_for :users, controllers: {
sessions: 'users/sessions',
registrations: 'users/registrations',
confirmations: 'users/confirmations',
passwords: 'users/passwords',
unlocks: 'users/unlocks',
omniauth_callbacks: 'users/omniauth_callbacks',
}
resources :membership_applications, only: %i[show new create]
resources :passports, only: %i[index show new create] do
resources :passport_confirmations,
controller: 'passports/passport_confirmations',
only: %i[index create]
end
resources :telegram_bot_updates, only: :create
end