app/controllers/faalis/api/v1/users_controller.rb in faalis-0.15.1 vs app/controllers/faalis/api/v1/users_controller.rb in faalis-0.16.0
- old
+ new
@@ -1,8 +1,8 @@
require_dependency "faalis/application_controller"
module Faalis
- class API::V1::UsersController < APIController
+ class API::V1::UsersController < ::APIController
def index
@users = User.joins(:group).all
authorize! :read, @users
respond_with(@users)