Adding views for the profile and entry pages

This commit is contained in:
Eugen Rochko
2016-02-26 20:48:20 +01:00
parent f16b31f077
commit 24646d5769
13 changed files with 177 additions and 7 deletions

View File

@@ -1,2 +1,8 @@
%h1 Profile#show
%p Find me in app/views/profile/show.html.haml
%div.card
%h1.name
= @account.display_name.blank? ? @account.username : @account.display_name
%small= "@#{@account.username}"
%div.activity-stream
- @account.statuses.order('id desc').each do |status|
= render partial: 'status', locals: { status: status }