consolidate mixpanel streams by making Profile one page [ci skip]
This commit is contained in:
parent
cf6974b898
commit
5af37fd3da
2 changed files with 3 additions and 0 deletions
|
|
@ -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 })});
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue