From 9c23c8873502d750615dd4745158b10812ea3274 Mon Sep 17 00:00:00 2001 From: farhatahmad <35435341+farhatahmad@users.noreply.github.com> Date: Fri, 15 Feb 2019 12:15:29 -0500 Subject: [PATCH] Added a env variable to toggle visibilty of the customize tab in user settings (#369) --- app/views/users/edit.html.erb | 12 ++++++++---- config/application.rb | 3 +++ sample.env | 4 ++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index 71ca0b15..e3288a25 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -30,9 +30,11 @@ <% end %> - + <% if Rails.configuration.allow_custom_branding %> + + <% end %>