mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-14 00:54:32 +08:00
Move sanitize_input
This commit is contained in:
parent
283bfc8759
commit
2ebd78676f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module ProjectsHelper
|
|||
end
|
||||
|
||||
def user_name_with_role(user_project)
|
||||
sanitize_input("#{user_project.user.name} - #{I18n.t("user_projects.enums.role.#{user_project.role}")}")
|
||||
"#{sanitize_input(user_project.user.name)} - #{I18n.t("user_projects.enums.role.#{user_project.role}")}"
|
||||
end
|
||||
|
||||
def construct_module_connections(my_module)
|
||||
|
|
Loading…
Add table
Reference in a new issue