Updated application_helper.rb to fix an issue introduced by commit 741624a15460 from DCC