Fixes Volume Backup Restore

Restoring a Volume Backup is not working correctly. After selecting the
volume to restore to, it launches into the Create Backup modal.

Change-Id: Ie73d85eb5fc3a10f5a73ea6342d39a93d9a82eab
Closes-Bug: #1482677
This commit is contained in:
Ryan Peters 2015-08-07 09:56:46 -05:00
parent c3a6bb9bac
commit 5974548323
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class RestoreBackupView(forms.ModalFormView):
modal_header = _("Restore Volume Backup")
template_name = 'project/volumes/backups/restore_backup.html'
submit_label = _("Restore Backup to Volume")
submit_url = "horizon:project:volumes:volumes:create_backup"
submit_url = "horizon:project:volumes:backups:restore"
success_url = reverse_lazy('horizon:project:volumes:index')
page_title = _("Restore a Volume Backup")