18 lines
541 B
Ruby
18 lines
541 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.routes.draw do
|
|
extend ButtsAreCoolRoutes
|
|
extend E621WsRoutes
|
|
extend FurryCoolRoutes
|
|
extend MaidboyeCafeRoutes
|
|
extend OceanicWsRoutes
|
|
extend YiffMediaRoutes
|
|
extend YiffRestRoutes
|
|
extend YiffRocksRoutes
|
|
get "up" => "rails/health#show", as: :rails_health_check
|
|
|
|
get "/online", to: "application#online"
|
|
root to: "application#access_denied"
|
|
match "*other", to: "application#not_found", via: :all, constraints: ->(req) { !req.path.start_with?("/rails/active_storage") }
|
|
end
|