class ElectionController < ApplicationController
model :raw_voter_list, :voter, :vote, :candidate
- layout 'vb'
+ layout 'hc'
before_filter :login_required
class QuickvoteController < ApplicationController
- layout 'vb'
+ layout 'hc'
model :quick_voter
model :vote
model :election
class SiteController < ApplicationController
- layout 'vb'
+ layout 'hc'
model :user, :election
def index
class UserController < ApplicationController
- layout 'vb'
+ layout 'hc'
def home
redirect_to :controller => 'site', :action => 'index'
class VoterController < ApplicationController
- layout 'vb'
+ layout 'hc'
model :voter
model :vote
model :election
<html>
<head>
<title><%= @page_title || "HyperChad" %></title>
- <%= stylesheet_link_tag "vb", :media => "all" %>
+ <%= stylesheet_link_tag "hc", :media => "all" %>
<% #engine_stylesheet 'login_engine' %>
<%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
<div id="footer">
<hr />
- Copyleft 2006 |
+ <%= link_to "Copyleft", "http://mako.cc/projects/hyperchad" %> 2006 |
<%= link_to "MIT Media Lab", "http://www.media.mit.edu" %> and
<a href="http://mako.cc">Benjamin Mako Hill</a>
</div>
Voter!
-This is an automated message sent by votingbooth.mako.cc.
+This is an automated message sent by hyperchad.media.mit.edu.
You have been listed as a voter in an upcoming election.
The election title: <%= @voter.election.name %>
To read more about the election, the candidates, and to vote, you will
-need to use the following token to log in to votingboth.mako.cc:
+need to use the following token to log in to hyperchad.media.mit.edu:
<%= @voter.password %>
Alternatively, you can just click this URL:
Alternatively, if you feel there is a technical error, please contact:
- help@votingbooth.mako.cc
- (VotingBooth Tech Support)
+ help@hyperchad.media.mit.edu
+ (HyperChad Tech Support)
Thanks and happy voting!
-VotingBooth Staff
+HyperChad Staff
# inflect.uncountable %w( fish sheep )
# end
-MAIL_CONFIG = { :from => 'VotingBooth <info@votingbooth.mako.cc>'}
+MAIL_CONFIG = { :from => 'HyperChad <info@hyperchad.media.mit.edu>'}
# Include your application configuration below
require 'uniq_token'