silly hack to preventdefault tags from getting generated...

This commit is contained in:
Maxwell Salzberg 2011-08-02 22:28:40 -07:00
parent 25bf4ce074
commit 11ad3f2b78

View file

@ -20,7 +20,7 @@ class ProfilesController < ApplicationController
def update def update
# upload and set new profile photo # upload and set new profile photo
params[:profile] ||= {} params[:profile] ||= {}
unless params[:profile][:tag_string].nil? unless params[:profile][:tag_string].nil? #|| params[:profile][:tag_string] == I18n.t('profiles.edit.your_tags_placeholder')
params[:profile][:tag_string].split( " " ).each do |extra_tag| params[:profile][:tag_string].split( " " ).each do |extra_tag|
extra_tag.strip! extra_tag.strip!
unless extra_tag == "" unless extra_tag == ""