class SiteController < ApplicationController
- layout 'hc'
+ layout 'main'
model :user, :election, :account
def index
b.enddate <=> a.enddate
end
else
- # if we have no record of them, set the session id back to
+ # if we have no record of them, set the user back to
# nothing and start again
session[:user] = nil