+
+ def changeset_index_title(params, user)
+ if params[:friends] && user
+ t "changeset.index.title_friend"
+ elsif params[:nearby] && user
+ t "changeset.index.title_nearby"
+ elsif params[:display_name]
+ t "changeset.index.title_user", :user => params[:display_name]
+ else
+ t "changeset.index.title"
+ end
+ end