Permalink
Browse files

fix user homepages due to Gchart issue

  • Loading branch information...
1 parent 31585ea commit 37688592e9108a844739c1b85304f51a1e78e8fa @sudara committed Sep 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/models/user/statistics.rb
@@ -1,3 +1,4 @@
+require 'gchart'
class User
# graphing
def track_plays_graph
@@ -22,7 +23,7 @@ def track_plays_graph
:group => group_by
).collect{ |tp| tp[1] }
- Gchart.line(
+ ::Gchart.line(
:size => '420x150',
:title => 'listens',
:data => track_play_history,

0 comments on commit 3768859

Please sign in to comment.