Admin accounts page lists accounts
This commit is contained in:
		@@ -6,8 +6,10 @@ class Admin::AccountsController < ApplicationController
 | 
			
		||||
  layout 'public'
 | 
			
		||||
 | 
			
		||||
  def index
 | 
			
		||||
    @accounts = Account.order('domain ASC, username ASC').paginate(page: params[:page], per_page: 40)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def show
 | 
			
		||||
    @account = Account.find(params[:id])
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user