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

32 lines
812 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
get '/s/452465', to: 'home#event1'
get '/s/243898', to: 'home#post1'
get '/s/377295', to: 'home#post2'
get '/events/2018/11/24/' \
'otkrytaja-vstrecha-storonnikov-libertarianskoj-partii.html',
to: 'home#event1'
get '/posts/2018/07/27/' \
'sformirovan-rukovodjashhij-komitet-ro-lpr-v-permskom-krae.html',
to: 'home#post1'
get '/posts/2018/11/12/' \
'sekretar-ro-lpr-v-permskom-krae-byl-zaderzhan-na-4-chasa.html',
to: 'home#post2'
#####
root to: 'home#show'
devise_for :users, controllers: {
sessions: 'users/sessions',
registrations: 'users/registrations',
}
resources :membership_applications, only: %i[new create]
resources :telegram_bot_updates, only: :create
end