silly hack to preventdefault tags from getting generated...
This commit is contained in:
parent
25bf4ce074
commit
11ad3f2b78
1 changed files with 1 additions and 1 deletions
|
|
@ -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 == ""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue