# frozen_string_literal: true
Rails.application.routes.draw do
root to: 'home#show'
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'
resources :membership_applications, only: %i[new create]
end