Skip to content

Commit

Permalink
Growstuff#816 For members, indicate it's some kind of protocol in ope…
Browse files Browse the repository at this point in the history
…ngraph
  • Loading branch information
CloCkWeRX committed Mar 28, 2016
1 parent 06ba2f7 commit 0ccc1b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/members/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
- content_for :title, @member.login_name
- content_for :subtitle, @member.location
- content_for :opengraph do
<meta property="og:image" content="#{avatar_uri(@member, 150)}"/>
<meta property="og:title" content="#{@member.login_name}" />
<meta property="og:type" content="profile" />
<meta property="og:url" content="#{request.original_url}" />
<meta property="og:site_name" content="#{ENV['GROWSTUFF_SITE_NAME']}" />
- content_for :buttonbar do
- if can? :update, @member
= link_to 'Edit profile', edit_member_registration_path, :class => 'btn btn-default'
Expand Down

0 comments on commit 0ccc1b5

Please sign in to comment.