Rename user#list to user#index
This commit is contained in:
parent
5a2d2f97ce
commit
a3606e00b4
6 changed files with 40 additions and 40 deletions
|
@ -14,7 +14,7 @@ class UserController < ApplicationController
|
|||
before_action :require_allow_read_prefs, :only => [:api_details]
|
||||
before_action :require_allow_read_gpx, :only => [:api_gpx_files]
|
||||
before_action :require_cookies, :only => [:new, :login, :confirm]
|
||||
before_action :require_administrator, :only => [:set_status, :delete, :list]
|
||||
before_action :require_administrator, :only => [:set_status, :delete, :index]
|
||||
around_action :api_call_handle_error, :only => [:api_read, :api_users, :api_details, :api_gpx_files]
|
||||
before_action :lookup_user_by_id, :only => [:api_read]
|
||||
before_action :lookup_user_by_name, :only => [:set_status, :delete]
|
||||
|
@ -488,7 +488,7 @@ class UserController < ApplicationController
|
|||
|
||||
##
|
||||
# display a list of users matching specified criteria
|
||||
def list
|
||||
def index
|
||||
if request.post?
|
||||
ids = params[:user].keys.collect(&:to_i)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue