added team display to about page
This commit is contained in:
parent
1907583565
commit
409cb8aa66
|
@ -3,5 +3,6 @@ class StaticController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def about
|
def about
|
||||||
|
@admins = User.where(admin: true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -13,10 +13,13 @@
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-body
|
.panel-body
|
||||||
%h3 Title 1
|
%h3 The Team
|
||||||
Blah blah blah blah...
|
The people behind justask!
|
||||||
%br/
|
%br/
|
||||||
Someone fill this text here.
|
%ul
|
||||||
|
- @admins.each do |user|
|
||||||
|
%li
|
||||||
|
%a= link_to user.screen_name, show_user_profile_path(user.screen_name)
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
.panel-body
|
.panel-body
|
||||||
|
|
Loading…
Reference in New Issue