提交 06f696dd 编写于 作者: D Douglas Barbosa Alexandre

Refactor MembersHelper#filter_group_project_member_path

上级 c3af880a
......@@ -38,12 +38,8 @@ module MembersHelper
end
def filter_group_project_member_path(options = {})
exist_opts = {
search: params[:search],
sort: params[:sort]
}
options = params.slice(:search, :sort).merge(options)
options = exist_opts.merge(options)
path = request.path
path << "?#{options.to_param}"
path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册