Skip to content

Commit

Permalink
Revert "changes page title on people#show page to users fullname"
Browse files Browse the repository at this point in the history
This reverts commit 155455d.
  • Loading branch information
kentonh committed May 24, 2017
1 parent c229d06 commit 6b8529e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,4 @@ def avatar_url(email)
"https://gravatar.com/avatar/#{gravatar_id}.png?s=292&r=g&d=#{CGI.escape(default_url)}?#{configatron.app_url}/assets/missing.png"
end

# sets page title with text
# @author Austin Crane
def title(text)
content_for :title, text
end

end
7 changes: 1 addition & 6 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
<!DOCTYPE html>
<html>
<head>

<!-- Set the title if there exists content for title else set to startup wichita -->
<title>
<%= if content_for?(:title) then yield(:title) + ' | ' end %>
Startup Wichita
</title>
<title>Startup Wichita</title>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
Expand Down
2 changes: 0 additions & 2 deletions app/views/people/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<%= title @person.full_name %>

<% content_for :utility_bar do %>
<!-- <% if claimable(@person) %>
<%= link_to 'Claim This Profile', people_claim_path(@person), class: "btn btn-sm btn-claim" %>
Expand Down

0 comments on commit 6b8529e

Please sign in to comment.