you know, i should uncomment code before i commit it

This commit is contained in:
Maxwell Salzberg 2011-08-02 22:30:24 -07:00
parent 11ad3f2b78
commit 9cbb6c4d5e

View file

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