Method: SimpleUser::UsersController#index
- Defined in:
- app/controllers/simple_user/users_controller.rb
#index ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'app/controllers/simple_user/users_controller.rb', line 9 def index @users = User.all respond_to do |format| format.html # index.html.erb format.json { render json: @users } end end |