Move controllers to same namespace as their model

This commit is contained in:
Robbie Averill 2016-12-19 10:25:36 +13:00
parent f35c6049d7
commit 71890778db
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
namespace SilverStripe\Blog\Controllers; namespace SilverStripe\Blog\Model;
use Page_Controller; use Page_Controller;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace SilverStripe\Blog\Controllers; namespace SilverStripe\Blog\Model;
use Page_Controller; use Page_Controller;
use SilverStripe\Control\RSS\RSSFeed; use SilverStripe\Control\RSS\RSSFeed;
@ -410,7 +410,6 @@ class Blog_Controller extends Page_Controller
public function PaginatedList() public function PaginatedList()
{ {
$allPosts = $this->blogPosts ?: ArrayList::create(); $allPosts = $this->blogPosts ?: ArrayList::create();
$posts = PaginatedList::create($allPosts); $posts = PaginatedList::create($allPosts);
// Set appropriate page size // Set appropriate page size