Redirect to the right place after saving article
Redirect to the right place after saving article

For some weird reason, in development mode we were being redirected to a
URL without a port number. Article#url returned with the port number, bur
Article#view_url did not (only in this context, in an automated test it
worked ok).

Since in production mode Noosfero.url_options is guaranteed to return an
empty hash, this has no impact on production servers.

hebertdougl/noosfero,pr-snas/noosfero-sgpr,arthurmde/noosfero,ludaac/noosfero-mx,EcoAlternative/noosfero-ecosol,evandrojr/noosferogov,coletivoEITA/noosfero-ecosol,LuisBelo/tccnoosfero,hebertdougl/noosfero,hackathon-oscs/rede-osc,cesarfex/noosfero,hackathon-oscs/rede-osc,rafamanzo/mezuro-travis,abner/noosfero,evandrojr/noosferogov,AlessandroCaetano/noosfero,CIRANDAS/noosfero-ecosol,larissa/noosfero,macartur/noosfero,cesarfex/noosfero,vfcosta/noosfero,joenio/noosfero,arthurmde/noosfero,EcoAlternative/noosfero-ecosol,hebertdougl/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero,joenio/noosfero,blogoosfero/noosfero,alexandreab/noosfero,hackathon-oscs/cartografias,abner/noosfero,alexandreab/noosfero,macartur/noosfero,pr-snas/noosfero-sgpr,abner/noosfero,samasti/noosfero,marcosronaldo/noosfero,evandrojr/noosfero,cesarfex/noosfero,larissa/noosfero,vfcosta/noosfero,marcosronaldo/noosfero,vfcosta/noosfero,pr-snas/noosfero-sgpr,coletivoEITA/noosfero,hackathon-oscs/rede-osc,hackathon-oscs/cartografias,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,alexandreab/noosfero,blogoosfero/noosfero,tallysmartins/noosfero,arthurmde/noosfero,rafamanzo/mezuro-travis,larissa/noosfero,hebertdougl/noosfero,uniteddiversity/noosfero,samasti/noosfero,LuisBelo/tccnoosfero,joenio/noosfero,coletivoEITA/noosfero,abner/noosfero,evandrojr/noosfero,tallysmartins/noosfero,evandrojr/noosfero,alexandreab/noosfero,macartur/noosfero,macartur/noosfero,samasti/noosfero,ludaac/noosfero-mx,hackathon-oscs/rede-osc,abner/noosfero,cesarfex/noosfero,coletivoEITA/noosfero,hackathon-oscs/rede-osc,alexandreab/noosfero,larissa/noosfero,arthurmde/noosfero,arthurmde/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,uniteddiversity/noosfero,evandrojr/noosfero,marcosronaldo/noosfero,CIRANDAS/noosfero-ecosol,hackathon-oscs/rede-osc,LuisBelo/tccnoosfero,blogoosfero/noosfero,marcosronaldo/noosfero,evandrojr/noosferogov,LuisBelo/tccnoosfero,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,danielafeitosa/noosfero,AlessandroCaetano/noosfero,coletivoEITA/noosfero-ecosol,joenio/noosfero,LuisBelo/tccnoosfero,macartur/noosfero,pr-snas/noosfero-sgpr,ludaac/noosfero-mx,vfcosta/noosfero,ludaac/noosfero-mx,arthurmde/noosfero,coletivoEITA/noosfero,coletivoEITA/noosfero-ecosol,hackathon-oscs/rede-osc,vfcosta/noosfero,uniteddiversity/noosfero,coletivoEITA/noosfero,samasti/noosfero,tallysmartins/noosfero,alexandreab/noosfero,rafamanzo/mezuro-travis,evandrojr/noosferogov,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,joenio/noosfero,hebertdougl/noosfero,evandrojr/noosferogov,CIRANDAS/noosfero-ecosol,uniteddiversity/noosfero,hackathon-oscs/cartografias,samasti/noosfero,uniteddiversity/noosfero,EcoAlternative/noosfero-ecosol,joenio/noosfero,pr-snas/noosfero-sgpr,coletivoEITA/noosfero,cesarfex/noosfero,evandrojr/noosfero,alexandreab/noosfero,hackathon-oscs/cartografias,abner/noosfero,uniteddiversity/noosfero,evandrojr/noosferogov,danielafeitosa/noosfero,abner/noosfero,cesarfex/noosfero,ludaac/noosfero-mx,AlessandroCaetano/noosfero,larissa/noosfero,larissa/noosfero,hackathon-oscs/cartografias,AlessandroCaetano/noosfero,AlessandroCaetano/noosfero,cesarfex/noosfero,marcosronaldo/noosfero,tallysmartins/noosfero,danielafeitosa/noosfero,tallysmartins/noosfero,coletivoEITA/noosfero-ecosol,macartur/noosfero,blogoosfero/noosfero,hackathon-oscs/cartografias,evandrojr/noosfero,rafamanzo/mezuro-travis,uniteddiversity/noosfero,marcosronaldo/noosfero,samasti/noosfero,rafamanzo/mezuro-travis,vfcosta/noosfero,LuisBelo/tccnoosfero,danielafeitosa/noosfero,hebertdougl/noosfero,tallysmartins/noosfero,tallysmartins/noosfero,EcoAlternative/noosfero-ecosol,arthurmde/noosfero,larissa/noosfero,marcosronaldo/noosfero,macartur/noosfero,evandrojr/noosferogov,blogoosfero/noosfero,AlessandroCaetano/noosfero,AlessandroCaetano/noosfero,hackathon-oscs/cartografias,danielafeitosa/noosfero,evandrojr/noosfero,hebertdougl/noosfero,danielafeitosa/noosfero,pr-snas/noosfero-sgpr