Skip to content

Commit

Permalink
Fix for social image.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobSpectre committed Jan 3, 2012
1 parent 9f56cef commit 57af66c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ def index(name="Somebody Put Something In My Ring"):
app.config['AUTH_TOKEN'])
capability.allow_client_outgoing(app.config['RAMONES_APP_SID'])
token = capability.generate()
url = url_for('.index')

return render_template('index.html', name=name, token=token, url=url)
return render_template('index.html', name=name, token=token)


# Route for the TwiML Voice Application
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link rel="apple-touch-icon" sizes="114x114" href="/static/images/apple-touch-icon-114x114.png">
<meta property="og:title" content="Somebody Put Something In My Ring" />
<meta property="og:description" content="Your emergency Ramones hotline - a Python port of Callin' Oates." />
<meta property="og:image" content="{{ url }}/static/images/social-534x534.png" />
<meta property="og:image" content="http://somethinginmyring.com/static/images/social-534x534.png" />

<!-- GA -->
<script type="text/javascript">
Expand Down

0 comments on commit 57af66c

Please sign in to comment.