Major commit adding about information and more before site goes live.
[selectricity-live] / app / controllers / front_controller.rb
similarity index 88%
rename from app/controllers/site_controller.rb
rename to app/controllers/front_controller.rb
index d432a03b9fb5457277d6dafc9a0660a369bd45eb..c4a198da265dbbebe6b9b481c6f832568151a286 100644 (file)
@@ -1,10 +1,8 @@
-class SiteController < ApplicationController
+class FrontController < ApplicationController
   layout 'frontpage'
   require_dependency "user"
   require_dependency "election"
   require_dependency "account"
-  include Sitealizer
-  before_filter :use_sitealizer
 
   def index
     @quickvotes = QuickVote.find(:all).sort {|a,b| b.enddate <=> a.enddate}[0..1]
@@ -23,7 +21,6 @@ class SiteController < ApplicationController
         # if we have no record of them, set the user back to
              # nothing and start again
         session[:user] = nil
-        
       end
     end
   end

Benjamin Mako Hill || Want to submit a patch?