Skip to content

chore: Simplify and modernize helpers#822

Merged
jgraichen merged 2 commits into
mainfrom
chore/helper-cleanup
Jul 1, 2026
Merged

chore: Simplify and modernize helpers#822
jgraichen merged 2 commits into
mainfrom
chore/helper-cleanup

Conversation

@jgraichen

Copy link
Copy Markdown
Owner

Replace hash-building with keyword arguments and modern Ruby syntax.
This improves readability and maintainability of the code.

Remove the custom slim_tag method and replace it with Rails' built-in
content_tag and tag helpers, which are more idiomatic and easier to
understand.

jgraichen added 2 commits July 1, 2026 21:53
Replace hash-building with keyword arguments and modern Ruby syntax.
This improves readability and maintainability of the code.

Remove the custom `slim_tag` method and replace it with Rails' built-in
`content_tag` and `tag` helpers, which are more idiomatic and easier to
understand.
Replace the manual try-logout-if-login-failed approach with a full
session reset. This should be more robust and Redmine-version
independent.
@jgraichen jgraichen self-assigned this Jul 1, 2026
@jgraichen
jgraichen merged commit ee704bd into main Jul 1, 2026
26 checks passed
@jgraichen
jgraichen deleted the chore/helper-cleanup branch July 1, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant