docs: document config/ and some directories in app/.
* Add README files to several directories in app/ giving a brief overview of some parts of Danbooru's architecture. * Add documentation for files in config/.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
# This file contains configuration for Danbooru's URL routes. It defines all the
|
||||
# URL endpoints and HTTP redirects used by Danbooru.
|
||||
#
|
||||
# A list of routes can be found at http://localhost:3000/rails/info/routes when
|
||||
# running the server in development mode. You can also run `bin/rails routes` to
|
||||
# produce a list of routes.
|
||||
#
|
||||
# @see https://guides.rubyonrails.org/routing.html
|
||||
# @see http://localhost:3000/rails/info/routes
|
||||
Rails.application.routes.draw do
|
||||
resources :posts, only: [:index, :show, :update, :destroy] do
|
||||
get :random, on: :collection
|
||||
|
||||
Reference in New Issue
Block a user