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

33 lines
935 B
Ruby
Raw Normal View History

2018-11-22 14:58:12 -05:00
# frozen_string_literal: true
2018-11-22 14:33:08 -05:00
Rails.application.routes.draw do
2018-11-29 15:57:57 -05:00
root to: 'home#show'
2018-11-29 16:28:20 -05:00
devise_for :users, controllers: {
2018-12-03 21:40:12 -05:00
sessions: 'users/sessions',
registrations: 'users/registrations',
confirmations: 'users/confirmations',
passwords: 'users/passwords',
unlocks: 'users/unlocks',
omniauth_callbacks: 'users/omniauth_callbacks',
2018-11-29 16:28:20 -05:00
}
2018-11-29 15:57:57 -05:00
resources :membership_apps, only: %i[show new create]
resources :passports, only: %i[index show new create] do
2018-12-03 08:39:19 -05:00
resources :passport_confirmations,
controller: 'passports/passport_confirmations',
only: %i[index create]
end
2018-11-29 20:37:02 -05:00
2018-12-06 21:43:30 -05:00
resources :telegram_bots, only: %i[index show] do
resources :updates, controller: 'telegram_bots/updates', only: :create
end
resources :telegram_chats, only: %i[index show]
namespace :settings do
resources :telegram_contacts, only: :index
end
2018-11-22 14:33:08 -05:00
end