Sha256: d5476b302ea3a55782f8e34a89cae70e326e08b1777d79246db5480aba796556

Contents?: true

Size: 152 Bytes

Versions: 5

Compression:

Stored size: 152 Bytes

Contents

class AlbumsController < ApplicationController

  def index
    @albums = Album.all
  end
  
  def show
    @album  = Album.find(params[:id])
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 tests/app/controllers/albums_controller.rb
restfulie-1.1.1 tests/app/controllers/albums_controller.rb
restfulie-1.1.0 tests/app/controllers/albums_controller.rb
restfulie-nosqlite-1.0.3 tests/app/controllers/albums_controller.rb
restfulie-1.0.3 tests/app/controllers/albums_controller.rb