you know, i should uncomment code before i commit it
This commit is contained in:
parent
11ad3f2b78
commit
9cbb6c4d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 == ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue