Commit 77e37583 authored by Rémy Coutable's avatar Rémy Coutable

Don't memoize LicenseHelper#license_message

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent f0880cf8
......@@ -16,7 +16,7 @@ module LicenseHelper
# HTML links.
#
def license_message(signed_in: signed_in?, is_admin: (current_user && current_user.is_admin?), in_html: true)
@license_message ||=
@license_message =
if License.current
yes_license_message(signed_in, is_admin)
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment