Преглед изворни кода

Force form target, fixes #243

Jordi Boggiano пре 13 година
родитељ
комит
db684dbe98
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Packagist/WebBundle/Resources/views/Web/submitPackage.html.twig

+ 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)") }}