diff --git a/app/cells/members/user_filter_cell.rb b/app/cells/members/user_filter_cell.rb index 8131a02796..8575edca1d 100644 --- a/app/cells/members/user_filter_cell.rb +++ b/app/cells/members/user_filter_cell.rb @@ -24,6 +24,10 @@ module Members self.class.filter(params) end + def filter_path + project_members_path(project) + end + def self.base_query Queries::Members::MemberQuery end diff --git a/app/cells/user_filter_cell.rb b/app/cells/user_filter_cell.rb index 5a0457a4a4..f9787819be 100644 --- a/app/cells/user_filter_cell.rb +++ b/app/cells/user_filter_cell.rb @@ -74,6 +74,10 @@ class UserFilterCell < RailsCell # INSTANCE METHODS: + def filter_path + users_path + end + def initially_visible? true end diff --git a/app/cells/views/user_filter/show.erb b/app/cells/views/user_filter/show.erb index 92ecec2466..e8ff873a57 100644 --- a/app/cells/views/user_filter/show.erb +++ b/app/cells/views/user_filter/show.erb @@ -27,7 +27,7 @@ See doc/COPYRIGHT.rdoc for more details. ++#%> -<%= form_tag(users_path, method: :get) do %> +<%= form_tag(filter_path, method: :get) do %> <% collapsed_class = initially_visible? ? '' : 'collapsed' %>