Skip to content
Permalink
Browse files

Reorganize app structure according Best practices.

  • Loading branch information...
kucharovic committed Apr 21, 2015
1 parent 6fbe138 commit e0d44637ce04715fd50f18280f5422acc699b872
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
{% extends 'AppBundle::layout.html.twig' %}
{% extends 'layout.html.twig' %}

{% block title 'Zoznam príspevkov' %}

@@ -1,4 +1,4 @@
{% extends 'AppBundle::layout.html.twig' %}
{% extends 'layout.html.twig' %}

{% block title post.title %}

File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ gulp.task('default', function() {
});

gulp.task('assets', function() {
gulp.src('src/AppBundle/Resources/public/**')
gulp.src('app/Resources/public/**')
.pipe(
gulp.dest('web/assets')
)
@@ -9,7 +9,7 @@
class BlogController extends Controller
{
/**
* @Template
* @Template("blog/list.html.twig")
*/
public function listAction()
{
@@ -20,7 +20,7 @@ public function listAction()
}
/**
* @Template
* @Template("blog/view.html.twig")
*/
public function viewAction(Post $post)
{}
@@ -8,7 +8,7 @@
class HomepageController extends Controller
{
/**
* @Template
* @Template("homepage/view.html.twig")
*/
public function viewAction()
{
@@ -8,7 +8,7 @@
class SitemapController extends Controller
{
/**
* @Template
* @Template("sitemap/view.xml.twig")
*/
public function viewAction()
{

0 comments on commit e0d4463

Please sign in to comment.
You can’t perform that action at this time.