updated application helper.rb to resolve parameter missing issue