#605 [frontend] go to builds page after submitting a custom method build
Merged 5 years ago by praiskup. Opened 5 years ago by frostyx.
copr/ frostyx/copr custom-method-redirect  into  master

@@ -278,7 +278,7 @@ 

  

      # TODO: parametric decorator for this view && url_on_success

      view = 'coprs_ns.copr_new_build_custom'

-     url_on_success = helpers.copr_url('coprs_ns.copr_add_build_custom', copr)

+     url_on_success = helpers.copr_url("coprs_ns.copr_builds", copr)

  

      def factory(**build_options):

          BuildsLogic.create_new_from_custom(

Fixes #555

Another sane page to go after successfully submitting a build would
be redirect to the build detail, but other methods redirects
to the builds list page and the goal here is consistency.

rebased onto 8bef124

5 years ago

Pull-Request has been merged by praiskup

5 years ago
Metadata