module RepositoriesHelper def render_decode64_content(str) return nil if str.blank? Base64.decode64(str) end end