Initial commit
This commit is contained in:
commit
0cec39413f
116 changed files with 9683 additions and 0 deletions
5
app/controllers/books_controller.rb
Normal file
5
app/controllers/books_controller.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class BooksController < ApplicationController
|
||||
def index
|
||||
@books = Book.published.map { |book| BooksPresenter.new(book) }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue