Merge pull request #81 from symfony/quick-fixes

This commit is contained in:
Symfony
2017-09-13 13:32:12 -07:00
committed by GitHub
10 changed files with 3 additions and 85 deletions
@@ -1,9 +0,0 @@
orbitale_cms_category:
resource: "@OrbitaleCmsBundle/Controller/CategoryController.php"
type: annotation
prefix: /category/
orbitale_cms_page:
resource: "@OrbitaleCmsBundle/Controller/PageController.php"
type: annotation
prefix: /page/
-9
View File
@@ -1,9 +0,0 @@
{
"bundles": {
"Orbitale\\Bundle\\CmsBundle\\OrbitaleCmsBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/",
"src/": "%SRC_DIR%/"
}
}
@@ -1,29 +0,0 @@
<?php
namespace App\Entity;
use Orbitale\Bundle\CmsBundle\Entity\Category as BaseCategory;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="Orbitale\Bundle\CmsBundle\Repository\CategoryRepository")
* @ORM\Table(name="orbitale_cms_categories")
*/
class Category extends BaseCategory
{
/**
* @var int
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
}
@@ -1,29 +0,0 @@
<?php
namespace App\Entity;
use Orbitale\Bundle\CmsBundle\Entity\Page as BasePage;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="Orbitale\Bundle\CmsBundle\Repository\PageRepository")
* @ORM\Table(name="orbitale_cms_pages")
*/
class Page extends BasePage
{
/**
* @var int
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
}
@@ -1,6 +0,0 @@
orbitale_cms:
page_class: App\Entity\Page
category_class: App\Entity\Category
# Define your layout here if you need a custom layout for your CMS
# layouts:
# main: { resource: base.html.twig }
+1 -1
View File
@@ -3,7 +3,7 @@
"Orbitale\\Bundle\\CmsBundle\\OrbitaleCmsBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/",
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
{
"bundles": {
"Bazinga\\Bundle\\GeocoderBundle\\BazingaGeocoderBundle": ["all"]
"Bazinga\\GeocoderBundle\\BazingaGeocoderBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/"
"config/": "%CONFIG_DIR%/"
}
}