Skip to content

Commit 3fa84f4

Browse files
committed
Fix creating/editing articles
1 parent 7f1e2fc commit 3fa84f4

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
before_install:
1717
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then openssl aes-256-cbc -K $encrypted_38f96163e3a4_key -iv $encrypted_38f96163e3a4_iv -in .travis/deploy.key.enc -out .travis/deploy.key -d; fi
1818
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
19-
- curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
19+
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
2020
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
2121
- sudo apt-get update -qq
2222
- sudo apt-get install -y -qq python-docutils nodejs yarn

composer.lock

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/PhpOfBy/AdminBundle/Resources/config/easy_admin_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ easy_admin:
2828
- 'published'
2929
- 'title'
3030
- 'publicationDate'
31-
- { property: 'teaser', type: 'ckeditor' }
32-
- { property: 'body', type: 'ckeditor' }
31+
- { property: 'teaser', type: 'FOS\CKEditorBundle\Form\Type\CKEditorType' }
32+
- { property: 'body', type: 'FOS\CKEditorBundle\Form\Type\CKEditorType' }

src/PhpOfBy/WebsiteBundle/Controller/DefaultController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
use Sensio\Bundle\FrameworkExtraBundle\Configuration as Mvc;
77
use Symfony\Component\Routing\Annotation\Route;
88

9-
/**
10-
* @Mvc\Route(service="phpofby_website.controller.default")
11-
*/
129
class DefaultController extends AbstractServiceController
1310
{
1411
/**
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
parameters:
2-
phpofby_website.controller.default.class: PhpOfBy\WebsiteBundle\Controller\DefaultController
32

43
services:
5-
phpofby_website.controller.default:
6-
class: '%phpofby_website.controller.default.class%'
4+
PhpOfBy\WebsiteBundle\Controller\DefaultController:
75
parent: common.contoller.abstract
86
public: true
97
arguments: []

0 commit comments

Comments
 (0)