Minor code cleanup
This commit is contained in:
parent
5e42f6b833
commit
4a9c5210c5
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@
|
|||||||
!var/SymfonyRequirements.php
|
!var/SymfonyRequirements.php
|
||||||
/vendor/
|
/vendor/
|
||||||
/web/bundles/
|
/web/bundles/
|
||||||
|
/**/*.php~
|
@ -3,7 +3,7 @@
|
|||||||
{% block body %}
|
{% block body %}
|
||||||
<h2>Previously Owned Flashes</h2>
|
<h2>Previously Owned Flashes</h2>
|
||||||
|
|
||||||
<table>
|
<table class="hover scroll stack">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
@ -49,10 +49,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="{{ path('previously-owned-flash_new') }}">Create a new previouslyOwnedFlash</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -10,7 +10,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||||||
* @ORM\Table(name="previously_owned_flash", schema="camera")
|
* @ORM\Table(name="previously_owned_flash", schema="camera")
|
||||||
* @ORM\Entity
|
* @ORM\Entity
|
||||||
*/
|
*/
|
||||||
class PreviouslyOwnedFlash extends Flash
|
class PreviouslyOwnedFlash
|
||||||
{
|
{
|
||||||
use PurchasePriceTrait;
|
use PurchasePriceTrait;
|
||||||
|
|
||||||
|
@ -7,9 +7,6 @@ require __DIR__.'/../vendor/autoload.php';
|
|||||||
Debug::enable();
|
Debug::enable();
|
||||||
|
|
||||||
$kernel = new AppKernel('dev', true);
|
$kernel = new AppKernel('dev', true);
|
||||||
if (PHP_VERSION_ID < 70000) {
|
|
||||||
$kernel->loadClassCache();
|
|
||||||
}
|
|
||||||
$request = Request::createFromGlobals();
|
$request = Request::createFromGlobals();
|
||||||
$response = $kernel->handle($request);
|
$response = $kernel->handle($request);
|
||||||
$response->send();
|
$response->send();
|
||||||
|
Loading…
Reference in New Issue
Block a user