Fix superuser template functions
Superuser functions were overriding their user/org parameters with the values from the database/role, so the user was incorrect.
This commit is contained in:
@@ -17,7 +17,7 @@ class SqlTemplateRenderer
|
||||
end
|
||||
|
||||
def render
|
||||
ERB.new(@template).result(binding)
|
||||
ERB.new(@template, _save_level=nil, _trim_mode='-').result(binding)
|
||||
end
|
||||
|
||||
def name
|
||||
|
||||
Reference in New Issue
Block a user