Got abilities working on index; next need to separate users from members from cards.
This commit is contained in:
@@ -7,7 +7,7 @@ class UsersController < ApplicationController
|
||||
def index
|
||||
#@users = User.all
|
||||
#authorize! :read, @users
|
||||
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
format.json { render :json => @users }
|
||||
|
||||
Reference in New Issue
Block a user