Adding public following and followers pages, fix #3

This commit is contained in:
Eugen Rochko
2016-03-19 14:02:30 +01:00
parent c349200761
commit 71ae4dd3d2
14 changed files with 220 additions and 28 deletions

View File

@ -0,0 +1,14 @@
- content_for :page_title do
People who follow
= display_name(@account)
= render partial: 'header'
.accounts-grid
- @followers.each do |f|
= render partial: 'grid_card', locals: { account: f }
- if @followers.empty?
= render partial: 'nothing_here'
= will_paginate @followers, pagination_options