sixthedge / opentbl

5 stars 2 forks source link

[Mailer] URL formatting is inconsistent. #74

Closed jamesfid closed 7 years ago

jamesfid commented 7 years ago

The mailer requires the domain secret, which are currently set to have no trailing slash (e.g. https://domain.com and not https://domain.com/). The URL helpers use inconsistent leading slashes (e.g. "/sign_up vs. sign_up). We need to add a helper (something like format_url) that can ensure that parts are joined correctly.