Ver Fonte

Force form target, fixes #243

Jordi Boggiano há 13 anos atrás
pai
commit
db684dbe98

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Web/submitPackage.html.twig

@@ -8,7 +8,7 @@
     <div class="box clearfix">
         <h1>Submit package</h1>
         <p>Please make sure you have read the package <a href="{{ path('about') }}">naming conventions</a> before submitting your package. The authoritative name of your package will be taken from the composer.json file inside the master branch or trunk of your repository, and it can not be changed after that.</p>
-        <form id="submit-package-form" action="" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
+        <form id="submit-package-form" action="{{ path('submit') }}" data-check-url="{{ path('submit.fetch_info') }}" method="POST" {{ form_enctype(form) }}>
             <div>
                 <p>
                     {{ form_label(form.repository, "Repository URL (Git/Svn/Hg)") }}