Sha256: 7cb9fdcf64076f9b4fd2330fa89906066f4540e7ba5f3b79970448c6c12f6b34

Contents?: true

Size: 165 Bytes

Versions: 4

Compression:

Stored size: 165 Bytes

Contents

class ArtistsController < ApplicationController
  # GET /artists
  def index
    @artists = RailsExample::Artist.reduce(params)

    render json: @artists
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rack-reducer-1.0.1 spec/_rails_example/app/controllers/artists_controller.rb
rack-reducer-1.0.0 spec/_rails_example/app/controllers/artists_controller.rb
rack-reducer-0.1.2 spec/_rails_example/app/controllers/artists_controller.rb
rack-reducer-0.1.1 spec/_rails_example/app/controllers/artists_controller.rb