Skip to content

Commit

Permalink
Reorganize app structure according Best practices.
Browse files Browse the repository at this point in the history
  • Loading branch information
kucharovic committed Apr 21, 2015
1 parent 6fbe138 commit e0d4463
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 7 deletions.
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' %}

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

{% block title post.title %}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -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')
)
Expand Down
4 changes: 2 additions & 2 deletions src/AppBundle/Controller/BlogController.php
Expand Up @@ -9,7 +9,7 @@
class BlogController extends Controller
{
/**
* @Template
* @Template("blog/list.html.twig")
*/
public function listAction()
{
Expand All @@ -20,7 +20,7 @@ public function listAction()
}

/**
* @Template
* @Template("blog/view.html.twig")
*/
public function viewAction(Post $post)
{}
Expand Down
2 changes: 1 addition & 1 deletion src/AppBundle/Controller/HomepageController.php
Expand Up @@ -8,7 +8,7 @@
class HomepageController extends Controller
{
/**
* @Template
* @Template("homepage/view.html.twig")
*/
public function viewAction()
{
Expand Down
2 changes: 1 addition & 1 deletion src/AppBundle/Controller/SitemapController.php
Expand Up @@ -8,7 +8,7 @@
class SitemapController extends Controller
{
/**
* @Template
* @Template("sitemap/view.xml.twig")
*/
public function viewAction()
{
Expand Down

0 comments on commit e0d4463

Please sign in to comment.