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