Change redirect on feed importation

This commit is contained in:
Frederic Guillot 2013-06-01 14:56:20 -04:00
parent 4fe64668a5
commit f1479befd3

View File

@ -336,13 +336,13 @@ Router\post_action('import', function() {
if (Model\import_feeds(Request\file_content('file'))) {
Session\flash(t('Your feeds have been imported.'));
Response\redirect('?action=feeds');
}
else {
Session\flash_error(t('Unable to import your OPML file.'));
Response\redirect('?action=import');
}
Response\redirect('?action=import');
});