consolidate mixpanel streams by making Profile one page [ci skip]

This commit is contained in:
danielgrippi 2012-06-01 13:23:52 -07:00
parent cf6974b898
commit 5af37fd3da
2 changed files with 3 additions and 0 deletions

View file

@ -34,6 +34,7 @@ app.Router = Backbone.Router.extend({
},
newProfile : function(personId) {
app.instrument("track_pageview", "Profile")
this.renderPage(function(){ return new app.pages.Profile({ personId : personId })});
},

View file

@ -7,6 +7,8 @@
= javascript_include_tag :people
:javascript
Mentions.options.prefillMention = #{@person.to_json};
app.instrument("track_pageview", "Profile")
- content_for :page_title do
= @person.name