diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -32,10 +32,11 @@ :status => Task::STATUS_INQUEUE) == false flash[:notice] = 'Error adding your submission to task queue' end + else + prepare_list_information + render :action => 'list' and return end - - prepare_list_information - render :action => 'list' + redirect_to :action => 'list' end def get_source