X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9347f6bd316ab609f4b780658855e52e7937e5a6..c5d48f6ea92e43f07182d20ebe693692b4330437:/app/controllers/election_controller.rb diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index 4ad8bac..570f1fc 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -16,6 +16,8 @@ class ElectionController < ApplicationController end def general_information + @sidebar_content = render_to_string :partial => 'progress', + :locals => { :page => 'overview' } @election = Election.new render :action => 'general_information' end @@ -81,6 +83,8 @@ class ElectionController < ApplicationController # information for elections #################################################################### def edit_candidates + @sidebar_content = render_to_string :partial => 'progress', + :locals => { :page => 'candidates' } @election = Election.find( params[:id] ) end