Skip to content
This repository has been archived by the owner on Feb 9, 2019. It is now read-only.

Commit

Permalink
Make Pusher App Key available to client side
Browse files Browse the repository at this point in the history
  • Loading branch information
dipth committed Dec 12, 2011
1 parent d1bbf50 commit fbe0006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.pusher_key = '<%= ENV['PUSHER_KEY'] %>';
</script>
<title>PusherDemo</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "http://js.pusherapp.com/1.9/pusher.min.js", "application" %>
Expand Down

0 comments on commit fbe0006

Please sign in to comment.