Websites/config/routes.rb

20 lines
558 B
Ruby

# frozen_string_literal: true
Rails.application.routes.draw do
extend ButtsAreCoolRoutes
extend E621WsRoutes
extend FurryCoolRoutes
extend MaidGayRoutes
extend OceanicWsRoutes
extend YiffMediaRoutes
extend YiffRestRoutes
extend YiffRocksRoutes
extend OtherRoutes
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