Files
danbooru/config/initializers
evazion 90be15e0b5 Fix #4973: Wiki pages json index returns 404.
Fix regression introduced in 0db20e0ca. Setting `format: false` on the
wiki pages resource disabled format negotiation on all wiki page routes,
not just the show page, which meant /wiki_pages.json no longer worked.

The fix to monkey patch the internal Rails method that parses the file
extension from the URL, and have it ignore everything but the .html,
.json, .js, and .xml extensions. This is really hacky and may break in
future Rails releases.
2022-01-22 16:52:20 -06:00
..
2021-09-20 01:32:12 -05:00
2020-07-10 00:18:30 -05:00
2021-03-29 03:01:02 -05:00
2021-12-01 23:46:20 -06:00

Initializers

This directory contains initializers run by Rails during bootup. Initializers are generally used to configure libraries or other global settings during application boot.

See also

External links