- model :raw_voter_list, :voter, :vote, :candidate
-
- before_filter :login_required
-
- ## general methods for dealing with elections
- ####################################################################
- def index
- list
- render :action => 'list'
- end
-
- def list
- @election_pages, @elections = paginate :elections, :per_page => 10
- end
+ require_dependency "raw_voter_list"
+ require_dependency "voter"
+ require_dependency "vote"
+ require_dependency "candidate"
+ layout 'main'