Method: NyrosForm2::UsersController#index

Defined in:
app/controllers/nyros_form2/users_controller.rb

#indexObject



5
6
7
8
9
10
11
# File 'app/controllers/nyros_form2/users_controller.rb', line 5

def index
  @users =  User.all.order('created_at DESC')
  respond_to do |format|
    format.html
    format.json { render json: @users }
  end
end