This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/config/routes.rb
jomo d6221ca8d1 add DMCA link
NEVER GONNA GIVE YOU UP
NEVER GONNA LET YOU DOWN
NEVER GONNA RUN AROUND AND DESERT YOU
NEVER GONNA MAKE YOU CRY
NEVER GONNA SAY GOODBYE

░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█░░
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█░░
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█░
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█░
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█░░
2015-03-09 23:05:55 +01:00

58 lines
1.2 KiB
Ruby

Redstoner::Application.routes.draw do
resources :blogposts, path: '/blog' do
resources :comments
end
resources :statics, only: [:home, :donate], path: '/' do
collection do
get 'donate'
get 'home'
get 'index'
end
end
resources :info
resources :users do
member do
get 'confirm'
get 'edit_login'
get 'edit_notifications'
put 'update_login'
end
collection do
get 'lost_password'
post 'reset_password'
post 'suggestions'
end
end
resources :forumgroups, path: '/forums/groups'
resources :forums, path: '/forums'
resources :forumthreads, path: '/forums/threads' do
resources :threadreplies, path: 'replies'
end
resources :tools do
collection do
post 'render_markdown'
end
end
# get '/status' => 'status#show'
get 'login' => 'sessions#new'
post 'login' => 'sessions#create'
get 'become' => 'sessions#become'
get 'revert' => 'sessions#revert'
get 'logout' => 'sessions#destroy'
get 'signup' => 'users#new'
get '/dmca' => redirect('https://www.youtube.com/watch?v=oHg5SJYRHA0')
post 'raise_500' => 'statics#raise_500'
# post 'paypal' => 'paypal#create'
root to: 'statics#index'
end