Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
birger
users
Commits
e8d44984
Commit
e8d44984
authored
Dec 09, 2020
by
o@immerda.ch
Browse files
link to mailman admin, not listinfo page
parent
a180aea7
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/application_controller.rb
View file @
e8d44984
...
...
@@ -125,7 +125,7 @@ class ApplicationController < ActionController::Base
localpart
=
name
.
split
(
"@"
,
2
)[
0
]
# TODO: move to api
{
mailman:
"https://lists.immerda.ch/mailman/
listinfo
/:localpart"
,
mailman:
"https://lists.immerda.ch/mailman/
admin
/:localpart"
,
schleuder:
"https://schleuder.immerda.ch"
}[
which
.
to_sym
].
gsub
(
":name"
,
name
).
gsub
(
":localpart"
,
localpart
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment