Initial commit
This commit is contained in:
commit
0cec39413f
116 changed files with 9683 additions and 0 deletions
2
app/controllers/application_controller.rb
Normal file
2
app/controllers/application_controller.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
class ApplicationController < ActionController::Base
|
||||
end
|
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
|
0
app/controllers/concerns/.keep
Normal file
0
app/controllers/concerns/.keep
Normal file
Loading…
Add table
Add a link
Reference in a new issue