mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Move controllers to same namespace as their model
This commit is contained in:
parent
f35c6049d7
commit
71890778db
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\Blog\Controllers;
|
||||
namespace SilverStripe\Blog\Model;
|
||||
|
||||
use Page_Controller;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\Blog\Controllers;
|
||||
namespace SilverStripe\Blog\Model;
|
||||
|
||||
use Page_Controller;
|
||||
use SilverStripe\Control\RSS\RSSFeed;
|
||||
@ -410,7 +410,6 @@ class Blog_Controller extends Page_Controller
|
||||
public function PaginatedList()
|
||||
{
|
||||
$allPosts = $this->blogPosts ?: ArrayList::create();
|
||||
|
||||
$posts = PaginatedList::create($allPosts);
|
||||
|
||||
// Set appropriate page size
|
Loading…
Reference in New Issue
Block a user