Sha256: 8583e96c3354ebfa4818c902b51636d9f6be82674809e5403f302ca233fdc400

Contents?: true

Size: 186 Bytes

Versions: 38

Compression:

Stored size: 186 Bytes

Contents

class UsersController < ApplicationController
  respond_to :json

  def index
    @users = User.order('username ASC').load
  end

  def show
    @user = User.find(params[:id])
  end
end

Version data entries

38 entries across 31 versions & 2 rubygems

Version Path
rabl-0.14.3 fixtures/rails6/app/controllers/users_controller.rb
rabl-0.14.3 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.14.3 fixtures/ashared/controllers_rails_5/users_controller.rb
rabl-0.14.2 fixtures/ashared/controllers_rails_5/users_controller.rb
rabl-0.14.2 fixtures/rails6/app/controllers/users_controller.rb
rabl-0.14.2 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.14.1 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.14.1 fixtures/ashared/controllers_rails_5/users_controller.rb
rabl-0.14.0 fixtures/ashared/controllers_rails_5/users_controller.rb
rabl-0.14.0 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.13.1 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.13.1 fixtures/rails5/app/controllers/users_controller.rb
rabl-0.13.0 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.12.0 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.11.8 fixtures/rails4/app/controllers/users_controller.rb
rabl-0.11.7 fixtures/rails4/app/controllers/users_controller.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/rabl-0.11.6/fixtures/rails4/app/controllers/users_controller.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/rabl-0.11.6/fixtures/rails4/app/controllers/users_controller.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/rabl-0.11.6/fixtures/rails4/app/controllers/users_controller.rb
rabl-0.11.6 fixtures/rails4/app/controllers/users_controller.rb