From 2ee66139013b4bd54c9614508dcf0b9d8b0714f7 Mon Sep 17 00:00:00 2001 From: Date: Thu, 29 May 2008 17:01:04 -0400 Subject: [PATCH] fixed a typo in election controller in the edit_general_information method. --- app/controllers/election_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index 2337232..2fe5e4b 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -70,7 +70,7 @@ class ElectionController < ApplicationController @election = Election.find(params[:id]) unless (params[:top_bar][:uploaded_data].to_s.empty? and params[:default_image][:uploaded_data].to_s.empty? and params[:bg1][:uploaded_data].to_s.empty? and params[:bg2][:uploaded_data].to_s.empty? and params[:bottom_bar][:uploaded_data].to_s.empty?) - unless @election.embed_custom.string + unless @election.embed_custom_string token_generator = UniqueTokenGenerator.new( 16 ) @election.embed_custom_string = token_generator.token end -- 2.39.5