Skip to content

Commit

Permalink
Added some notes for picking up this branch later.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtribone committed Sep 8, 2017
1 parent 6508612 commit 2e5fd0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/services/dashboard_service.rb
@@ -1,5 +1,6 @@
# frozen_string_literal: true
class DashboardService
# perhaps use find_all and sort it out by user in the view
def self.find_by(_magic)
# does some stuff
end
Expand Down
7 changes: 5 additions & 2 deletions app/views/dashboard/index.html.erb
@@ -1,6 +1,9 @@
<h1>Dashboard</h1>
<h2>Books</h2>
<h3></h3>
<h2>Some heading related to the content on the page</h2>

# need to send it some data to be sorted by the user but how is being decided–perhaps find_by_user?
# this returns a nil class because there is nothing to display based on user
# let the amount of content and its organization dictate the layout

<% @documents.each do |document| %>
Expand Down

0 comments on commit 2e5fd0f

Please sign in to comment.