Sha256: 07e5d24e568dde8109126c66a06a9ed625c66301530a6be15ffea810eb5dc01a

Contents?: true

Size: 135 Bytes

Versions: 2

Compression:

Stored size: 135 Bytes

Contents

class BooksController < ApplicationController
  def show
    @book = Author.find(params[:author_id]).books.find(params[:id])
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
r_decorator-0.0.7 spec/dummy/app/controllers/books_controller.rb
r_decorator-0.0.6 spec/dummy/app/controllers/books_controller.rb