Files
redmine-theme-tonalmine/redmine_tonalmine/config/routes.rb
T
Andreas Reinhold / reiniandClaude Opus 5.5 20b7269df2 feat: redmine_tonalmine plugin for default and per-account appearance
Admins set the default mode, contrast and color on Settings > Display,
shown as three labelled form rows below the Theme select. Logged-in
users' choices are saved on their account and override only the parts
they changed; anonymous visitors get the default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 14:12:44 +02:00

4 lines
292 B
Ruby

# No format segment: Redmine treats .json requests as API calls, which skip the session and the
# CSRF check. theme.js sends JSON to this plain path with the X-CSRF-Token header instead.
put 'tonalmine/appearance', to: 'tonalmine_appearance#update', as: 'tonalmine_appearance', format: false