diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb index 6454cc68b24..a3ae278b3e9 100644 --- a/app/controllers/list_controller.rb +++ b/app/controllers/list_controller.rb @@ -109,7 +109,7 @@ class ListController < ApplicationController def topics_by list_opts = build_topic_list_options target_user = fetch_user_from_params({ include_inactive: current_user.try(:staff?) }, [:user_stat, :user_option]) - list = generate_list_for(action.to_s, target_user, list_opts) + list = generate_list_for("topics_by", target_user, list_opts) list.more_topics_url = url_for(construct_url_with(:next, list_opts)) list.prev_topics_url = url_for(construct_url_with(:prev, list_opts)) respond_with_list(list)