Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
Dan Hansen & Sarah Mei 2010-11-25 16:29:00 -08:00
commit e5673b304d

View file

@ -23,6 +23,8 @@ class AspectsController < ApplicationController
flash[:notice] = I18n.t('aspects.create.success', :name => @aspect.name)
if current_user.getting_started
redirect_to :back
elsif request.env['HTTP_REFERER'].includes("aspects/manage")
redirect_to :back
else
respond_with @aspect
end