fixed colors on graphs
[selectricity-live] / app / controllers / application.rb
index 5b55d0bc97c1a23c6ef0653dbe04bb987062b009..a71d7b4626c7ae26ebb8bd18a112908da3c2e680 100644 (file)
@@ -6,10 +6,17 @@ class ApplicationController < ActionController::Base
   helper :user
   require_dependency "user"
 
+  include Sitealizer
   before_filter :add_stylesheets
+  #before_filter :use_sitealizer
    
   def initialize
     @stylesheets = []
+
+        
+    # this is defined is a sketchy way in the sitealizer mixin
+    # initalize. since i'm overloading that, i'm calling it here
+    $visits = [] unless $visits
   end
             
   def add_stylesheets

Benjamin Mako Hill || Want to submit a patch?